both these functions 'getCurrentBranch and 'getLocalBranches' need to be returned by scm. Add a todo.