Making gitHelper aware of current directory, cding around in order to prevent errors if dir does not exist in master branch