Adds current_branch function
Updates current_branch
Makes use of current_branch function when no parameter is passed
Changes how the _opengit_open function checks for $MACHTYPE