When creating a remote shared Git repository you likely want to do it like this:
The "--shared=group" is important as it will ensure that permissions will be set correctly when working with the repository with multiple users. When issued in this way the config file will end up looking like this: