
Master Git fundamentals with a beginner crash course on version control, local and remote repositories, Git and GitHub basics, installation steps, workflow, branches, and personal access tokens.
Access a notes repository for Git and GitHub essentials, including on-prem DevOps content and the GitWords and control system notes. Open the resources link to review relevant documents.
Explore how version control systems track changes to your files, preserve history, enable collaboration, and recover previous versions.
Explore the three types of version control systems, local, centralized, and distributed, highlighting local repositories, centralized server dependencies, and distributed workflows with Git and GitHub for collaboration and branching.
Git is a distributed version control system that tracks changes, supports branching and merging, keeps a complete history, is open source and freely available, developed by Linus Torvalds in 2005.
Install git on Windows by downloading the x64 setup from gitscm.com, run the installer, and complete the wizard questions to finish the installation.
Install git on Ubuntu using apt, optionally add the ppa git-core/ppa for the latest stable release, uninstall older versions, update apt, and verify with git --version.
Initialize a git local repository with the git init command, creating a repository in a directory and a .git folder to track changes in the working tree and staging area.
Understand git architecture by exploring the working area, staging area (index), and repository, and learn how changes become commits through the workflow from untracked files to the repository.
Explore the Git working tree, the local directory on your computer where you create, edit, or delete files, tracking untracked and modified files as Git watches changes.
Master the staging area, the index that previews changes before committing, enabling partial commits and cleaner history through selective git add and status checks.
Learn how a local repository stores commit snapshots in Git, create commits with meaningful messages, view history with git log, and manage the master branch and commit IDs.
Understand remote repositories and how GitHub enables multi-developer collaboration with push, pull, clone, and pull requests, plus Git versus GitHub in DevOps.
Create a local repository, initialize it with git init, connect to a remote, push commits, and set up a Node.js project using npm in Visual Studio Code.
Initialize a Node.js project with npm init -y to create package.json and app.js, then test by running node app.js and inspect the local repository status with git.
Create a .gitignore to exclude node_modules and config files like package.json and package.log.json, commit only app.js, and keep git status clean before pushing.
Learn to create a local git repository, initialize with git init, stage and commit changes, manage untracked files, add a .gitignore, install modules, and connect the local repo to GitHub.
Learn how to link a local git repository to a remote GitHub repository by adding origin, configuring the remote URL, and preparing for authentication with a token or SSH.
Create a personal access token (PAT) in developer settings, set scopes and expiration, then push code to a remote repo on the main branch using token authentication.
Learn how git branches provide parallel development lines, manage dev one and dev two alongside the main branch, and merge changes back when ready.
Understand how the main branch holds the latest code, how merges occur between branches, and how code owners manage the repository with pull operations.
Learn how branching enables parallel development, with main as branch and dev1 and dev2 feature branches, reviewed by a code owner and merged back via git branch commands on GitHub.
Clone the repository, create local branches dev1 and dev2, switch between them with git checkout, and push these branches to the remote origin.
Want to learn Git and GitHub from scratch in a simple and practical way? This beginner-friendly course is designed to help stuAre you looking to start your journey with Git and GitHub but don’t know where to begin? This beginner-friendly course is designed to help you understand the core concepts of Git and GitHub in a simple, practical, and easy-to-follow way. Whether you are a student, aspiring developer, DevOps engineer, or IT professional, this course will help you build a strong foundation in version control and repository management.
In this course, you will learn what a Version Control System (VCS) is and why Git has become one of the most popular tools used by developers worldwide. You will learn how to install and configure Git, create local repositories, and connect them with remote GitHub repositories. The course also covers essential Git commands such as git init, git add, git commit, git push, git pull, and git clone.
Additionally, you will learn how Git branches work and understand the basic Git workflow from working directory to staging area and commit history. The course focuses on hands-on practical demonstrations so that you can practice along with the lectures.
No prior knowledge of Git or GitHub is required. By the end of this course, you will be confident in using Git and GitHub for your personal and professional projects.