In this introduction to node, I will be using ExpressJS. If you have not already done so, install NPM and then as root, "npm install express".
On my dev platform, I create a new Express Project:
express -s madisonHQ
This command creates a new folder "madisonHQ" and adds a skel app.js. Head to git and create a new repository.
Now, lets get this setup on Git.
git remote add madisonHQ firstname.lastname@example.org:mikekunze/madisonHQ.git
git add .
git commit -m 'first commit'
git push -u madisonHQ master
As you can see here, https://github.com/mikekunze/madisonHQ, my new project is synced and repo'ed.
Depending on your environment, you might need to get the express library added to the project. This is easy. Inside the madisonHQ directory:
npm install express