Using git

Quick cheatsheet for git.

First read this: Fork a repo.

Starting a new project
If this is a brand new Agile project, create the empty repo on github.com in the agile-geoscience account

Fork to your user using the fork button on the new repo's page. Then get the fork on your machine:

Add the original as a remote called upstream and fetch from it:

Add your stuff, commit, and push to your origin

When you want to sync with upstream:

Using branches
Check on your branches with:

Create them like so:

If you have local and remote (origin) branches called develop and master, then here's how to publish back from develop to master:

Handy references
Put things here :)