0% found this document useful (0 votes)
6 views

Gitinfo

This document is a tutorial on Git, a version control system that helps track code changes and facilitates collaboration. It provides examples of Git commands and explains the difference between Git and remote repository platforms like GitHub. Additionally, it includes exercises and quizzes to test users' Git skills and encourages creating an account for tracking progress.

Uploaded by

tinyorbitrevolve
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views

Gitinfo

This document is a tutorial on Git, a version control system that helps track code changes and facilitates collaboration. It provides examples of Git commands and explains the difference between Git and remote repository platforms like GitHub. Additionally, it includes exercises and quizzes to test users' Git skills and encourages creating an account for tracking progress.

Uploaded by

tinyorbitrevolve
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

 Tutorials  Exercises  Services   Sign Up Log in

A  TYPESCRIPT ANGULAR GIT POSTGRESQL MONGODB ASP AI R GO

Git Tutorial
❮ Home Next ❯

Learn Git
Git is a version control system.

Git helps you keep track of code changes.

Git is used to collaborate on code.


[+:

Learning by Examples
In this tutorial, we will show you Git commands like this:

Example
[user@localhost] $ git --version
git version 2.30.2.windows.1

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:
 Tutorials  Exercises  Services   Sign Up Log in

A  TYPESCRIPT ANGULAR GIT POSTGRESQL MONGODB ASP AI R GO


Example
[user@localhost] $ git --version

Lines like this are the output/response to our commands:

Example
git version 2.30.2.windows.1

In general, lines with $ in front of it is input. These are the commands you can copy and run in your
terminal.

Git and Remote Repositories Change Platform:

Git and GitHub are different things.


GitHub
In this tutorial you will understand what Git is and how to use it on the
Bitbucket
remote repository platforms, like GitHub.

GitLab
You can choose, and change, which platform to focus on by clicking in
the menu on the right:

Git Exercises

Test Yourself With Exercises

Exercise:
Insert the missing part of the command to check which version of Git (if any) is installed.
 Tutorials  Exercises  Services   Sign Up Log in

A  TYPESCRIPT ANGULAR GIT POSTGRESQL MONGODB ASP AI R GO


git

Submit Answer »

Start the Exercise

Git Quiz
Test your Git skills with a quiz.

Start Git Quiz

Login to Track Your Progress


Create a free W3Schools account and get access to more features and learning materials:

View your completed chapters, quizzes, and exercises

Keep an eye on your progress and daily streaks

Jump back in exactly where you left off

Create your own personal website

Sign Up for Free

Note: This is an optional feature. You can study at W3Schools without creating an account.
❮ Home
Tutorials  Exercises  Services   Log❯ in
Sign Up Next

A  TYPESCRIPT ANGULAR GIT POSTGRESQL MONGODB ASP AI R GO

Track your progress - it's free! Sign Up Log in

COLOR PICKER

 

 PLUS SPACES

GET CERTIFIED FOR TEACHERS

FOR BUSINESS CONTACT US

Top Tutorials
HTML Tutorial

 CSS Tutorial
Tutorials  JavaScript
Exercises 
Tutorial
How To Tutorial
Services   Sign Up Log in

A  TYPESCRIPT SQL Tutorial GIT


ANGULAR POSTGRESQL MONGODB ASP AI R GO
Python Tutorial
W3.CSS Tutorial
Bootstrap Tutorial
PHP Tutorial
Java Tutorial
C++ Tutorial
jQuery Tutorial

Top References
HTML Reference
CSS Reference
JavaScript Reference
SQL Reference
Python Reference
W3.CSS Reference
Bootstrap Reference
PHP Reference
HTML Colors
Java Reference
Angular Reference
jQuery Reference

Top Examples Get Certified


HTML Examples HTML Certificate
CSS Examples CSS Certificate
JavaScript Examples JavaScript Certificate
How To Examples Front End Certificate
SQL Examples SQL Certificate
Python Examples Python Certificate
W3.CSS Examples PHP Certificate
Bootstrap Examples jQuery Certificate
PHP Examples Java Certificate
Java Examples C++ Certificate
XML Examples C# Certificate
jQuery Examples XML Certificate

    

FORUM ABOUT ACADEMY

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, cookie and
privacy policy.

Copyright 1999-2025 by Refsnes Data. All Rights Reserved. W3Schools is Powered by W3.CSS.

You might also like