Creates function $GitBranches->current() to return the current git branch from the working copy.