Adjust the update_file_in_git method to allow committing to a new branch
The idea being that you can edit a file to an existing or a new branch.
Committing to a new branch is a desired feature to allow making the
contribution workflow for new-comers easier.