GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing www.w3schools.com — Git Tutorial
❮
❯
Git TutorialGit HOME Git Intro Git Install Git Config Git Get Started Git New Files Git Staging Git Commit Git Remove and Move Git Tagging Git Stash Git History Git Diff Git Blame Git Help Git Branch Git Merge Git Workflow Git Best PracticesGit and GitHubGitHub Get Started Git What is SSH? GitHub Add SSH GitHub Set Remote GitHub Edit Code Pull from GitHub Push to GitHub GitHub Branch Pull Branch from GitHub Push Branch to GitHub GitHub Flow GitHub Pages Git GUI ClientsGit ContributeGitHub Fork Git Clone from GitHub GitHub Send Pull RequestGit UndoGit Revert Git Reset Git Clean Git Amend Git Rebase Git Reflog Git RecoveryGit AdvancedGit .gitignore Git .gitattributes Git Large File Storage (LFS) Git Signing Commits/Tags Git Cherrypick & Patch Git Bisect Git Merge Conflicts Git CI/CD Git Hooks Git Submodules Git Worktree Git Remote AdvancedGit and BitbucketBitbucket Get Started Bitbucket Add SSH Bitbucket Set Remote Bitbucket Edit Code Bitbucket Branch Bitbucket Pages Bitbucket Fork Git Clone from Bitbucket Bitbucket Send Pull RequestGit and GitLabGitLab Get Started GitLab Add SSH GitLab Set Remote GitLab Edit Code GitLab Branch GitLab Pages GitLab Fork Git Clone from GitLab GitLab Send Pull RequestGit CertGit CertificateGit ReferenceGit GlossaryGit ExercisesGit Exercises Git Challenges Git Quiz Git Syllabus Git Study PlanGit TutorialLearn GitGit is a free, open source tool that helps you save and manage different versions of your files and code. With Git, you can work with others, keep track of changes, and undo mistakes. Become Git CertifiedGet certified with our Git exam, includes a professionally curated study kit to guide you from beginner to exam-ready.
Share
Where to use Git?Git works on your computer, but you also use it with online services like GitHub, GitLab, or Bitbucket to share your work with others. These are called remote repositories. In this tutorial, you'll learn how to use Git for your own projects and how to connect with remote repositories online. Learning by ExamplesIn this tutorial, we will show you Git commands like this: Example
For new users, using the terminal view can seem a bit complicated. Don't worry! We will keep it really simple, and learning this way gives you a good grasp of how Git works. In the code above, you can see commands (input) and output. Lines like this are commands we input: Example
Lines like this are the output/response to our commands: Example
In general, lines with These are the commands you can copy and run in your terminal. Tip for Beginners: Don't worry about making mistakes! When you use Git on your own computer, you can't really break anything important. Experimenting is a great way to learn, and you can always undo or redo changes as you go. What Changes When You Switch Platform?The tutorial can show examples for GitHub, GitLab, or Bitbucket. The Git commands are mostly the same, but some steps (like connecting to a remote or pushing code) might look a little different depending on the platform you choose. Use the menu to see examples for each platform. Why Practice with Exercises?Practicing with exercises helps you remember the commands and understand how Git works. Try the exercises and quiz to test your knowledge! Git QuizTest your Git skills with a quiz. Track Your ProgressCreate a W3Schools account and get access to more features and learning materials:
NoteThis is an optional feature. You can study at W3Schools without creating an account. Free account Track your progress
XP earned 0
Day streak 0
Spaces 0
League —
New Learn in Adventure Mode W3Schools Adventure AppCoding fundamentals as bite-sized lessons and challenges.
×
Contact SalesIf you want to use W3Schools services as an educational institution, team or enterprise, send us an e-mail: Report ErrorIf you want to report an error, or if you want to make a suggestion, send us an e-mail: Top TutorialsHTML TutorialCSS Tutorial JavaScript Tutorial How To Tutorial SQL Tutorial Python Tutorial W3.CSS Tutorial Bootstrap Tutorial PHP Tutorial Java Tutorial C++ Tutorial jQuery Tutorial Top ReferencesHTML ReferenceCSS Reference JavaScript Reference SQL Reference Python Reference W3.CSS Reference Bootstrap Reference PHP Reference HTML Colors Java Reference AngularJS Reference jQuery Reference
W3Schools is optimized for learning and training. Examples might be simplified to improve reading and learning.
Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness of all content. While using W3Schools, you agree to have read and accepted our terms of use, cookies and privacy policy. Copyright 1999-2026 by Refsnes Data. All Rights Reserved. W3Schools is Powered by W3.CSS. |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |