Manually checks out the branch/tag after git clone.
Improves cloning of git repositories. Refs #70.
Merge pull request #70 from gradha/pr_patches_irregular_git_clone_behaviour

Manually checks out the branch/tag after git clone.