Add fetching of current branch from git to Configurations class

https://github.com/fs/codeclimate_ci/issues/30
Why you need `git` local variable here?