When git was new, gitosis is commonly used to manage git-based projects. At the present, gitolite has replaced gitosis in popularity. But if you are just a single developer, or a small team with very few projects, you don't need any of these. Just plain git and ssh is enough.
First, you will need to setup a development server. You can read and follow this tutorial to setup a debian-based server
. To recap, you need at a minimum to setup a password-less login to your server.