0% found this document useful (0 votes)
26 views7 pages

Basic Git Github

Git is a version control system that tracks file changes, enabling collaboration among developers through branching and merging. GitHub is a web platform for hosting Git repositories, offering collaboration tools and a community for developers. Basic Git commands include 'add' to stage changes, 'commit' to create snapshots, and 'push' to send commits to a remote repository.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
26 views7 pages

Basic Git Github

Git is a version control system that tracks file changes, enabling collaboration among developers through branching and merging. GitHub is a web platform for hosting Git repositories, offering collaboration tools and a community for developers. Basic Git commands include 'add' to stage changes, 'commit' to create snapshots, and 'push' to send commits to a remote repository.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

Being Notified

Connect on LinkedIn
What is Git?
Git is a version control system that tracks changes to files over time.

1 Tracking Changes 2 Collaboration 3 Branching and Merging


Git keeps a record of each It enables multiple developers to Git provides branching capabilities
modification, allowing you to revert work on the same project for creating separate versions of
to previous versions if needed. simultaneously, merging their the project, which can be merged
changes without conflicts. back into the main branch.
What is GitHub?
GitHub is a web-based platform that provides hosting for Git repositories.

Repository Hosting Collaboration Tools Community


It stores your Git repositories, GitHub offers features for issue GitHub is a thriving community of
allowing you to share your code and tracking, pull requests, and code developers, providing a platform for
collaborate with others. reviews, facilitating seamless sharing code, learning, and
collaboration. connecting with others.
Basic Git commands: add, commit, push
These commands form the core of working with Git.

git add
Stages changes for commit, selecting files to include.

git commit
Creates a snapshot of the staged changes, recording
them in the repository's history.

git push
Sends your local commits to the remote repository,
making them visible to collaborators.
Connect to remote repository

git remote add origin https://github.com/<username>

Access remote repository

git remote set-url origin https://<token>@github.com/<username>/<repo>

You might also like