When I work on client work I usually have to branches the master branch that always contains the current state of the site on their server and a devel branch that contains new code. This way I can quickly switch between working code and devel code.

Normally, I do this using the following commands:

git checkout master
git checkout devel
git checkout master

But that's a lot extra typing because it turns out there there is a quicker way to do this.

git checkout -