Add getCurrentBranch command

Adds a command to query the current branch. This is called async by scm. It is a read-only call thus doesn't lock the repo operations.

@rginda 
`git_branch_name` is going to set the pointer with the brancName. Thus it won't clip when over 99 characters. For now I am removing the buffer and the condition when the call fails. Will address that later.