Repository: A project folder tracked by Git, containing the code and its complete change history. People usually call it a repo. Each repository usually holds one project.
Example
Your team's backend lives in a repository called order-service on Azure Repos. You clone it, create a branch, and every commit you push becomes part of that repository's history.
What a Repository Contains
- The project files: code, configuration, tests, and documentation.
- The full history of every commit, stored in a hidden .git folder.
- Branches and tags.
- Usually a README and a .gitignore.
Local vs Remote, Public vs Private
| Type | Meaning |
|---|---|
| Local repository | The copy on your computer |
| Remote repository | The shared copy on GitHub, GitLab, or a company server, usually called origin |
| Public repository | Anyone can see it, used for portfolios and open source |
| Private repository | Only invited people can see it, used for company code |
Organising Your Own Repositories
Keep one project per repository with a clear name, such as library-management-api rather than project1. Pin your best two or three on your GitHub profile, and archive or delete practice repositories that don't represent your work well. Never copy company code into a personal repository.
Related terms
- Git: the tool that manages repositories.
- GitHub: a common host for remote repositories.
- Clone: copies a repository to your computer.
- README: the guide at the top of every repository.
Previous term: Remote Work | Next term: Requirement
Related guides
- Build a GitHub Portfolio That Gets You Internship Interviews
- What to Do on Your First Day as an IT Intern
- How to Get an IT Internship Without Experience
Frequently asked questions
What is a repository in Git?
A repository is a project folder tracked by Git, containing the code and its complete change history.
What does repo mean?
Repo is short for repository.
What is the difference between a local and remote repository?
A local repository is on your computer. A remote repository is the shared copy on a server such as GitHub.
Can I put company code in my personal GitHub?
No. Company code is confidential and must stay in the company's repositories.
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