$ git clone https://git-wip-us.apache.org/repos/asf/github.com/apache/trafficserver.git
To work on a branch in git
$ git checkout -b 37.21.x origin/37.21.x
Normal git commit methodology applies: You can develop in your local repo, push up etc. We highly recommend that everyone tries to push commits such that the tree is in a buildable state after each commit. Having the tree buildable throughout all commits in the tree helps with running git bisect. For example, if you have a number of commits in a local repo, and are unsure which one of those commits actually build, you should consider squashing (git rebase -i) these commits into one or a few commits.