Wednesday, November 16, 2016

Setup and use a new git repository on

1. Install git from

2. Signup for an account at

3. Login and create a repository
+ sign at the top right
Add .gitignore: Node so that Node module folder does not get source controlled (large in size)

4. Get the reposiory url. Clone or Download button.

5. Run the git clone command in the directory where you want the repository cloned.

git clone <git-repository-url>

6. Three common commands:

Stage your work (. means stage everything).
git add .

Commit your changes locally
git commit -m "comment"

Push your work to Github
git push