Git Branches: Create, Switch, Rename and Delete Branches
Master Git branches: what a branch is, list, create and switch with git switch or checkout, push, rename and delete branches locally and on GitHub, and naming.
Online Learning Platform
Free tutorials, solved practice problems and interview prep for QA and automation engineers: Python, Playwright, Selenium, SQL, Git and more.
Master Git branches: what a branch is, list, create and switch with git switch or checkout, push, rename and delete branches locally and on GitHub, and naming.
Push an existing local project to GitHub step by step: create an empty repo, add .gitignore, init, commit, add origin, push -u, and fix unrelated histories.
git fetch vs git pull explained: what each changes, inspecting fetched commits, pull with merge, rebase or fast-forward only, and fixing common pull errors.
Learn git clone, git push and git pull: clone options, push -u origin main, rejected pushes, force-with-lease, pulling team changes and fixing common errors.
Understand Git remotes: origin vs upstream, git remote -v, add, set-url, rename and remove, remote-tracking branches like origin/main, and upstream tracking.
Undo anything in Git: discard edits with restore, unstage, amend the last commit, reset soft vs mixed vs hard, revert pushed commits, git clean and reflog.
Learn .gitignore: what to ignore, pattern syntax, templates for Node, Python and Playwright, untracking committed files, check-ignore and global ignore rules.
Read Git history like a pro: git log options and formats, git show, HEAD~ references, git diff between commits and branches, reading diffs and git blame.
Understand Git's three areas: working directory, staging area and repository. Read git status, compare with git diff, and move changes between areas safely.
Create your first Git repository step by step: git init, git status, git add, git commit, the everyday edit-add-commit loop and writing good commit messages.
Create a GitHub account, enable 2FA, and set up SSH keys on Windows, macOS and Linux: generate, add to the agent and GitHub, test, and fix common errors.
Configure Git properly: set your name and email, VS Code as editor, main as default branch, line endings, aliases and credentials, and view your config files.
Take free timed mock tests with answers and explanations.