Some more cool git commands
Git Stash: Git stash allows you to stash any changes you have made to the working set so you can get back to a clean state. From here you could pull from the main repo to get up to date and then pull your stash back in
Code:
$ git stash
$ git stash list # view a list of whats on the stash
$ git stash apply # reapply the most recent stash
And another cool thing you can do is create a branch from the stash
Code:
$ git stash branch MyBranch
To push the branch to the remote repo
Code:
$ git push origin MyBranch
And to delete the remote branch
Code:
$ git push origin :MyBranch
$ git branch -d MyBranch # delete the branch locally as well