reading-notes

Class 3: Git/Github

Version Control can be defined as a system that records and lists changes for various versions of a set of files.

What is cloning in Git?

Cloning is the process of creating a copy of an existing Git repository by using the clone command with a repo’s URL from a different server

What is the command to track and stage files?

What is the command to take a snapshot of your changed files?

Git commit -m “summary of change”

What is the command to send your changed files to Github?

$ git push origin main
This command pushes changes from the local “main”” branch to the remote repository named “origin”.

Read