Git Course — GameCode
Learn to protect your code like ancient guardians protected their scrolls. Discover the power of Git to travel through time, create alternate timelines, and collaborate with other code wizards without losing a single line of your work.
The Guardian's Awakening
What is Git and What is it For
Installing Git
Initial Configuration
Verify Installation
The Terminal and Git
Help and Documentation
Concepts: repository, working directory, staging area
The Basic Git Flow
The First Seals of Time
Create a repository with git init
Check status with git status
Adding files with git add
Create Your First Commit
Effective commit messages
View History with git log
git log with useful options
Ignoring Files with .gitignore
Journeys Through Time
View differences with git diff
git diff --staged
View commit details with git show
Travel to a Commit with git checkout
Return to the Present
Undoing Unsaved Changes
Removing files from staging
Modifying the Last Commit
The Parallel Timelines
What are branches
View Existing Branches
Create a new branch
Switching Branches
Create and Switch to a Branch in One Step
Working on a Branch
Compare branches
Delete a Branch
The Convergence of Realities
What is a merge
Merge fast-forward
Merge with Merge Commit
What is a Conflict
Detect Conflicts
Resolve conflicts manually
Completing the merge after resolving
Aborting a Merge
The Portal of the Remote Guardians
What is a remote repository
Create a GitHub Account
Create a Repository on GitHub
Connect Local Repository with Remote
View Configured Remotes
Upload changes with git push
Configure upstream on first push
Cloning an Existing Repository
The Synchronization of the Libraries
Download changes with git fetch
View Remote Branches
Fetch and merge with git pull
Difference between fetch and pull
Resolving Pull Conflicts
Push a New Branch to Remote
Delete a remote branch
Synchronize Deleted Branches
The Secrets of the Guardian Masters
Stash: Save Work Temporarily
Retrieving work from the stash
Tags: marking important versions
View and share tags
Alias: creating custom shortcuts
Commit Best Practices
Workflow with Branches
Your Graduation as a Guardian