Databases ā SQL, NoSQL, PostgreSQL, MongoDB & pgvector
Master Git version control, GitHub workflows, branching strategies, and how to contribute to open source ā the collaboration skills every professional developer needs.
āWelcome to Module 05 ā Git, GitHub, and Open Source. Git is used by over 97% of all developers worldwide. It is the most universal tool in software. GitHub is your public portfolio ā recruiters look at your GitHub profile before your interview, and open source contributions are the fastest way to demonstrate real skills to hiring managers. In 2026, GitHub has become even more powerful with Copilot code review, AI-assisted PR summaries, and GitHub Actions as the standard CI/CD platform. This module makes you fluent in Git, comfortable with the full GitHub workflow, and ready to make your first open source contribution.ā
āLet me give you the Git commands you will use every single day. Init and Clone: git init starts a new repository from scratch, git clone copies an existing one. Stage and Commit: git add stages your changes for the next snapshot, git commit with a message saves that snapshot permanently. The message format matters ā we will cover conventional commits shortly. Sync with remote: git push origin main uploads your commits to GitHub, git pull downloads and merges remote changes, git fetch downloads without merging. Branching: git checkout -b creates a new branch and switches to it. Merge integrates a branch preserving history with a merge commit. Rebase integrates a branch by replaying your commits on top of the target ā this produces a clean linear history preferred by many teams. Inspect and Fix: git status shows what is staged and unstaged, git log shows commit history, git stash temporarily saves uncommitted changes, git reset HEAD~1 undoes the last commit while keeping your changes.ā
āGitHub is not just code hosting ā it is a full collaboration platform. Pull Requests are the standard way teams review and merge code. The workflow: create a feature branch, push it to GitHub, open a PR with a clear description of what changed and why, link it to the relevant Issue. Best practices: keep PRs small and focused ā under 400 lines is a good rule. Do a self-review before requesting others. Code reviews: comment inline on specific lines, request changes with actionable feedback, or approve when it is ready. GitHub Actions is the most popular CI/CD platform in 2026 ā it runs your tests, linting, and deployment automatically on every push or PR. You write workflow YAML files in .github/workflows/. GitHub Issues and Projects track bugs and features. Link a PR to an Issue using 'Closes hashtag 123' in the PR body ā the Issue closes automatically when the PR merges. GitHub Copilot now generates PR summaries and code review suggestions ā a time-saver for large diffs.ā
āBranching strategy is one of the most important team decisions. Git Flow uses a main branch for production, a develop branch for integration, and short-lived feature branches. It is good for versioned software with scheduled releases. Trunk-Based Development has all developers merging small changes directly to main multiple times per day ā this is the standard for CI/CD teams and enables continuous deployment. Feature flags let you merge incomplete features to main behind a configuration flag ā the feature is in production but hidden from users until it is ready. This decouples deployment from release. Conventional Commits is a specification for commit messages: feat adds a new feature, fix patches a bug, docs changes documentation, chore handles maintenance. These parseable messages enable automatic changelog generation. Branch naming conventions keep repositories organized ā use descriptive prefixes like feature/, fix/, or hotfix/. For merge strategy: squash merge collapses your feature branch into a single clean commit, keeping main's history readable.ā
āOpen source contributions are the fastest way to demonstrate real engineering skills to hiring managers. A pull request merged into a popular open source project is proof that professionals reviewed your code and found it good enough to ship. How to start: look for repositories with a 'good first issue' label ā these are intentionally beginner-friendly. The website goodfirstissue.dev aggregates these across all major repositories. The contribution workflow: fork the repository to your GitHub account, clone your fork locally, create a branch for your fix, make the change, run the tests, push your branch, open a PR against the original repository. Types of contributions: bug fixes, documentation improvements, test coverage, correcting typos, adding examples ā all of these count. Responding to code review feedback professionally is itself a skill worth demonstrating. Your 30-day Git mastery plan: week 1, core Git commands until they are muscle memory. Week 2, GitHub PRs on your own projects. Week 3, branching and conventional commits. Week 4, make your first open source PR ā even a documentation fix counts.ā