Git module: update current_branch method