skip to content
Ivan's wiki
Site Tools
Search
Tools
Show pagesource
Backlinks
Recent Changes
Media Manager
Sitemap
>
Recent Changes
Media Manager
Sitemap
git
This page is read only. You can view the source, but not change it.
# Git **Git** is a version control system for tracking changes to code. Initialize a folder as a git repository to save snapshots of your work, branch to experiment safely, and synchronize with teammates via remotes. Every change is recorded as a **commit**, a snapshot of your project at a point in time. You can view history, revert to old commits, and understand who changed what and why. Git is decentralized—each person gets a full copy of the repository's history, so you work offline and sync with others when ready. ```bash $ git init # create a repository $ git add . # stage changes $ git commit -m "message" # create a commit $ git push origin main # push to remote ``` On a multi-person project, branching lets each developer work in isolation without conflicts. Create a branch, make changes, and merge back when ready. ## Concepts 1. [Repositories](/git-repositories) 2. [Commits](/git-commits) 3. [Staging](/git-staging) 4. [Branches](/git-branches) 5. [Merging](/git-merging) 6. [Rebasing](/git-rebasing) 7. [Remotes](/git-remotes) 8. [Pushing and pulling](/git-pushing-and-pulling) 9. [Undoing changes](/git-undoing) 10. [History and viewing commits](/git-history) 11. [Tags](/git-tags) 12. [Conflicts and conflict resolution](/git-conflicts) 13. [Stashing](/git-stashing) 14. [Cherry-pick](/git-cherry-pick) 15. [Hooks](/git-hooks) 16. [Workflows](/git-workflows)
Page Tools
Show pagesource
Backlinks
Back to top