This page is about git on Ponyland. For a general description on how git works, see Git.
The preferred way to work with git at our department is via GitHub, making all of your code open source (see our Software maintenance policy). There are, however, situations where you want don't want to make your work public (yet). For those situations, you can also put your repositories on Applejack.
It is quite easy to set up a private git repo on Ponyland. Assuming you already have the repository on your machine locally, all you have to do is:
mkdir <your repo name>
cd <your repo name>
git init –shared –bare
git remote add origin email@example.com:/scratch2/gitrepos/yourrepo