This document is mostly for me (John Kitchin) to document how to add features in a reasonable way to org-ref.
First make sure the repo is on master, and up to date.
Then, checkout a feature branch, e.g. here I am fixing issue #453 which is to add this document.
git checkout -b issue-453
Or, in magit type: b c Ret <branchname>.
Make any changes you want in this branch and finally commit them.
Run the tests.
make mytest
If that passes you are probably good to either merge with master, or create a pull request.
git checkout master
git merge issue-453
git push
If that goes ok, then delete the branch:
git branch -d issue-453