Handy git aliases and config directives

By adding a few lines to ~/.gitconfig and you can alias "git co" to "git checkout", etc:

Also, you might find these will come in handy;

Also, for a superb bash shell setup where you can see your current working branch, add this to your ~.bash_profile. As the comment suggests, you need to follow the instructions at these URLs to set up git properly first.