ToolScope Notes

Git & GitHub Notes in Simple English — Code Scope

Free Git & GitHub notes for beginners: what version control is, installing Git and your first repo, commits, branches and merge conflicts, GitHub repos, push, clone and fork, pull requests and team flow, .gitignore and the classic mistakes, undoing anything with restore, reset, revert and stash, cherry-pick, GitHub Actions, and your first open-source pull request. Real terminal commands with real output, common mistakes and practice tasks in every lesson. From the Code Scope Git & GitHub series.

10 lessons — Code Scope series 4.1 + G.2–G.10 Read online — free PDF download for every lesson Code you can copy & run

Git & GitHub Notes

10 LESSONS · CODE SCOPE SERIES 4.1 + G.2–G.10

The professional's safety net: what version control is, setup and your first repo, commits, branching and merge conflicts, GitHub repos, push, clone vs fork, pull requests and team flow, .gitignore and the classic mistakes, undoing anything (restore, reset, revert, stash), cherry-pick, GitHub Actions, and your first open-source pull request.

Lesson 4.1

Git & GitHub: Commit, Push, Pull

The opener: version control in plain words, your first init/add/commit in the terminal, Git vs GitHub, push and pull, and the one rule — never commit secrets.

Read the notes Video
Lesson G.2

Git Setup + Pehla Repo

Install Git, set your name and email once, create your first repo with git init, and walk the full status → add → commit → log journey.

Read the notes Video
Lesson G.3

Branching — Parallel Kaam

Work in parallel without breaking the main line: branch, switch, merge — and fixing a merge conflict line by line when two changes collide.

Read the notes Video
Lesson G.4

GitHub Deep Dive

Your code's online home: creating a repo, the first push, a README that explains the project, and clone vs fork — plus a first look at Issues.

Read the notes Video
Lesson G.5

Pull Requests & Team Flow

How professionals ship together: push a branch, open a pull request, review the diff, fix, re-push, approve and merge — the full team flow.

Read the notes Video
Lesson G.6

.gitignore + Git ki Aam Ghaltiyaan

Keep junk and secrets out forever: .gitignore patterns, removing an already-tracked file with git rm --cached, and four classic mistakes fixed WRONG → RIGHT.

Read the notes Video
Lesson G.7

Git Undo — Galti Sudharna

Every mistake has an undo: restore a file, unstage, amend the last commit, reset vs revert (and which is safe on shared work), and the stash.

Read the notes Video
Lesson G.8

Git Stash + Cherry-Pick — Kaam Ko Rok Kar Sambhalna

Park half-finished work safely with stash (list, apply, pop, drop) and lift one single commit onto another branch with cherry-pick.

Read the notes Video
Lesson G.9

GitHub Actions — Auto Kaam Ka Taaruf

A robot on every push: what CI is, your first workflow YAML file, reading the green check and the red X, and what teams automate next.

Read the notes Video
Lesson G.10

Open Source Mein Pehla Qadam — Fork Se Pull Request Tak

Join a real project: fork, clone your fork, add the upstream remote, branch, change, push and open a pull request on someone else's repo.

Read the notes Video