Introduction
Git history
Git architecture and components
Installing Git and setting up environment
This one-day workshop will familiarize you with Git fundamentals. Lots of practical exercises and tricks will make you more effective working with the most popular version control system on the planet.
Learn how to organize your daily work with Git and become proficient with branching and merging, resetting and rebasing, creating pull requests and forking, stashing and making partial commits as well as many more useful tools that Git has.
6 modules
intermediate
1 day
Included
Git history
Git architecture and components
Installing Git and setting up environment
Creating empty repository with git init
Staging changes with git add
Creating history records with git commit
Checking working tree with git status
Checking history with git log and git diff
Temporarily postponing changes with git stash
Controlling Git behavior with git config and .gitattributes
Excluding files in .gitignore and .gitkeep
Going "back in time" with git checkout
Reverting changes with git revert
Cleaning working tree with git clean
Forgetting history with git reset
Rewriting history with git rebase
Retrieving remote repository with git clone
Controlling remote repository location with git remote
Retrieving remote changes with git fetch and git pull
Sending local changes to remote repository with git push
Resolving conflicts
Creating and switching between local branches with git checkout
Pushing branches to remote repository with git push
Listing local and remote branches with git branch
Merging branches with git merge
Rebasing vs merging
Deleting branches
Feature branches
GitFlow: master, develop, release, feature
Forks and pull/merge requests
Git LFS
Git hooks: client/server, validation, encryption
Git client overview: TortoiseGit, SourceTree, Intellij IDEA
Git service overview: GitHub, GitLab, BitBucket