adds helper returning the git dir
adds helper returning current operation
adds helper returning current branch
adds helper returning whether or not a repo is bare
adds helper returning whether or not the current branch is dirty
adds helper returning whether or not there are staged files
moves formatting code to the bottom in order to get it out of the way of all the colour handling
use the new functions