Github Flashcards
Git
A distributed version control system used to track changes in source code during software development
Repository (Repo)
A collection of files and folders along with the entire history of changes
GitHub
A web-based platform for version control and collaboration
Clone
To copy a repository from a remote server (like GitHub) to your local machine
Fork
Creating a personal copy of someone else’s project in GitHub. Forks allow you to freely experiment with changes
Branch
A parallel version of a repository used to work on different features or fixes without affecting the main code base
Commit
A snapshot of changes made to a repository. Commits are used to save changes to the local repository
Push
Sending committed changes to a remote repository (like GitHub)
Pull
Fetching and merging changes from a remote repository to your local repository
Pull requests (PR)
A proposed change submitted by a user in a fork of a repository. Notifies the original project maintainers for review and potential merge
Merge
Combining changes from one branch to another
Conflict
A situation that occurs when Git is unable to automatically merge changes in different branches, requiring manual intervention
Remote
A repository hosted on a server, like GitHub, rather than on your local machine
Origin
The default name for the remote repository on GitHub from which you cloned your local repository
Upstream
The original repository that you forked on GitHub. Often used in to keep your fork synced with the upstream repository