Getting started
This page takes you from nothing to your first commit on Sangam-Git in a few minutes. New to Git itself? Read Learn Git first — this page assumes you know what a commit and a push are.
1. Create your account
Sangam-Git uses passwordless sign-in. There's no password to invent or forget.
- Go to the sign-in page and enter your email.
- We email you a 6-digit code. Type it in.
- The first time, you'll set up two-factor authentication (it's required for every account — see Security). Scan the QR code with an authenticator app like Google Authenticator, and enter the code it shows.
That's it — you're in.
2. Everything lives in an organization
On Sangam-Git, repositories don't belong to a person — they belong to an organization. This matters: it means the code belongs to your team, not to whoever created it. If someone leaves, the code stays.
When you sign up, you create your first organization (say acme). You're its first owner. You can add teammates later as owners, admins, or members. (More in Organizations.)
3. Create a repository
Click New repository, choose your organization, give it a name like payments, and pick:
- Private — only members and invited people can see it.
- Public — anyone with the link can read it.
Create it. You now have an empty repository with a page showing you exactly what to do next.
4. Push your code
If you already have a project on your laptop, connect it and push. Sangam-Git shows you these commands on the empty-repo page:
cd my-project
git init
git add .
git commit -m "First commit"
git remote add origin https://sangam.example.com/acme/payments.git
git push -u origin main
When Git asks for a username and password:
- Username — your Sangam-Git username.
- Password — an access token, not your login. Create one under Settings → Tokens. (Tokens are safer than passwords and can be revoked any time.)
Refresh the repository page — your code is there, with its full history.
5. Find your way around
Every repository has five simple tabs, and each screen answers one question:
- Code — browse files and folders.
- Commits — the history of changes.
- Issues — bugs and tasks to track.
- Pull requests — proposed changes under review.
- Branches — the lines of work in the repo.
What to do next
- Working with AI coding tools? Set up Connect AI agents.
- Ready to collaborate? Learn how Pull requests & review work here.
- Want automated tests on every push? See Continuous integration.
- Moving from another host? See Import a repository.
The whole idea: Sangam-Git is deliberately simple. If a screen ever feels crowded, tell us — every screen is meant to answer exactly one question.