Git module
Foundations · Module 05
Git
Version control for scripts, SQL, and pipeline code — local discipline, then GitHub basics. Practice on your machine.
Beginner14 lessons~7 hours plus a demo
Data work is code: Python jobs, SQL files, Compose stacks. Git is how teams snapshot that work, branch safely, and review changes. This module is the last foundations node before Data Engineering — Apache Airflow is next.
You will install Git, commit locally, use branches and merges, ignore secrets and data files, then learn remotes and pull requests. The site never runs Git for you.
Start here
You need a terminal from Linux Getting Started. Then do this module’s Getting Started — we create ~/dcubes/git-lab and set your local identity.
On-ramp
ReadyYour Git practice environment
Install Git, set your local identity, and create the ~/dcubes/git-lab folder.
30 min
Lesson 1
ReadyWhy Git for data work
What belongs in Git for DE pipelines — and what must never be committed.
20 min
Lesson 2
Readyinit, status, diff
Create a repository and see untracked, modified, and staged states.
25 min
Lesson 3
Readyadd, commit, log
Stage snapshots, write commit messages, and read history.
30 min
Lesson 4
Readygitignore
Ignore venvs, data, env files, and other noise DE repos should never track.
25 min
Lesson 5
Readyclone and navigate
Clone a repository URL and move through history with log and show.
25 min
Lesson 6
ReadyBranches
Create and switch branches so features stay off main until ready.
30 min
Lesson 7
ReadyMerge basics
Merge a feature branch into main with a fast-forward or merge commit.
30 min
Lesson 8
ReadyConflicts
Create a merge conflict on purpose, resolve markers, and complete the merge.
35 min
Lesson 9
ReadyRemotes
Connect a local repo to a remote name and understand fetch, pull, and push.
30 min
Lesson 10
ReadyGitHub basics
Create a GitHub repository and push over HTTPS (or SSH) when you are ready.
35 min
Lesson 11
ReadyPull requests
Use branches and PRs as the review unit — even when you are a team of one.
30 min
Lesson 12
ReadyUndo safely
restore and revert for everyday mistakes — without rewriting shared history.
30 min
Lesson 13
ReadyRepo hygiene for pipelines
Layout, README, and ignore rules for a small data project repository.
30 min