To create a new repository
- Create directory using git bash or create manually
- User following commands to create repository
cd /repo/path/projectname.git git
init --bare
- After initialize directory share the directory and grant all permission to local group
To create a local workspace
- Create another local repository for local user or other computer use following commands in same order
cd ~/workspace/local/path
git init
git clone user@gitserver:/path/to/your/folder
git add origin
repo/path
git add .
git status
git commit
- Ref