Add failing test for git clone with checkout

So I can choose what branch to checkout after running clone.
Add code to git_clone() to checkout a branch after clone
Add --checkout to valid arguments

And add test for it
Use checkout argument properly