I am looking for installing a git server to share projects with my team. I don't want to create a user account on the server with SSH access for each developer that needs a git access. It seems there is two concurrent solutions that cover this issue : gitosis & gitolite.
I could not find any comparison between both solutions. What are the main differences between them? Are there other similar solution?
You can just use git.
To have a git server the only thing you need on the remote server is git. If you don't require fine-grained permissions (sharing with only your team suggests that's a possibility) or any extra features, you don't need gitolite, or similar.
The no-install solution
If git is available on the remote server, you can do what you're asking right now, without doing anything
Locally:
Setting up a git server is easy.
If you want to do things with a dedicated git user, the docs for setting up a git server are short - because it really is quite easy to do.
In summary:
.ssh/authorized_keys
filegit-shell
The only difference between using a dedicated git user and not, is that if you setup the git user to use
git-shell
it won't allow itself to do anything else. In terms of acting as a git server though, it's identical to the no-install solution