For a product based GIT repository, wherein there are branches for maintenance, testing as well as future development, how do I control user access to these branches. By acc
Put a server side commit hook that denies commits to whatever branches you need read-only or based on who the committer is.
For merging request work flow, we use a local install of Gitorious and submit merge requests through its web interface and restrict the main-line
repository to your integration team, everyone else would work from server side clones and then push merge requests back to the main-line repository.
With Gitorious you don't need the server side hooks, you just need to restrict access to the main-line
repository to only the people you want to be committer. Much simpler and easier to maintain.