Web apps & software

What is Git?

Git is the most widely used version control system. It records changes to code as commits, lets developers work on separate branches and merges their work back together.

The key ideas

A repository holds the project and its full history. A commit is a saved set of changes with a message. A branch is a separate line of work, for example for a new feature. A merge or pull request brings the work back into the main branch after review.

Why it matters to you

Git history shows exactly how your software evolved. Hosted repositories add backups, access control and code review tools. Insist that your project's repository is in your organisation's account.

Questions, answered

No, but owning the repository account and knowing where your code lives is important.

It should not. Secrets belong in environment variables or a secrets manager, not in the repository.

By the Stegnor team · Updated