Git: The tool most software teams use to keep track of every change made to the code. It lets you see history, undo mistakes, and work on the same project as others without overwriting each other's work.

Example

Three interns work on the same project. Each makes changes on their own branch, commits them with Git, and merges them through reviewed pull requests, without anyone's work being lost.

Why Teams Use Git

  • History: every change is recorded with who made it, when, and why.
  • Undo: you can go back to any earlier version.
  • Collaboration: many people work in parallel on branches.
  • Review: changes are checked before they are combined, through pull requests.

The Everyday Git Workflow

StepCommand
Get the projectgit clone URL
Get the latest changesgit pull
Start a taskgit switch -c feature/task-name
Save your workgit add . then git commit -m "message"
Share itgit push
Check statusgit status and git log

Many interns could write decent code but had never used Git with anyone else. The ones who had practised branches and pull requests on their own projects were productive in their first week instead of their third.

Dhaivat Ajwaliya From the interview roomDhaivat Ajwaliya, 16+ years interviewing interns

Git vs GitHub

Git is the tool on your computer. GitHub is a website that stores Git repositories online and adds team features such as pull requests and issues. GitLab, Bitbucket, and Azure Repos are similar services. Companies may use any of them, but Git underneath is the same.

Git for Interviews and Internships

Interviewers often ask about commit vs push, merge vs rebase, and how you resolve a merge conflict. More importantly, using Git properly in your own projects, with meaningful commits on GitHub, shows you are ready to work in a team.

Related terms

  • GitHub: a website that hosts Git repositories.
  • Repository: a project tracked by Git.
  • Commit: a saved snapshot of changes in Git.
  • Branch: a separate line of work in Git.
  • Version Control: the general category Git belongs to.

Previous term: Generative AI  |  Next term: GitHub

Related guides

Frequently asked questions

What is Git used for?

Git tracks changes to code, keeps a full history, lets you undo mistakes, and lets many people work on the same project safely.

What is the difference between Git and GitHub?

Git is the version control tool on your computer. GitHub is a website that hosts Git repositories and adds collaboration features.

Do I need to learn Git for an internship?

Yes. Almost every software team uses Git, and basic commands are expected from interns.

What Git commands should a beginner learn?

clone, status, add, commit, push, pull, branch or switch, merge, and log.

Explore more internship terms

The IT Internship Glossary explains 199 terms you will hear before and during your internship, with simple definitions and real examples.

Browse all 199 terms
Dhaivat Ajwaliya

About the author

Dhaivat Ajwaliya

Dhaivat has 16+ years of experience in the IT industry, working on AI and cloud technologies, project delivery, and engineering leadership. He has interviewed and mentored many interns, wrote The Lost Intern, and runs the non-commercial Career Impact Initiative, mentoring students for free.