Added the branch checkout option.

Temporarily commented out check_for_local_changes method , this doesn't seem to work as expected. Does a git diff on the current directory in the local machine.