
Set up ssh key authentication for GitHub by generating a public/private key pair and adding the public key to your account.
Set up an empty repository with git init, inspect the local structure (HEAD, config, logs), configure user details with git config (global vs local), and ignore files you won’t commit.
Learn to use git diff to view changes between working files, staging area, and commits, compare branches like master and feature branches, and understand added, deleted, and modified lines.
Master basic git workflows by adding or modifying files, staging changes, checking status, and committing, then explore stash, diffs, and logs through hands-on terminal practice.
Learn to switch branches with git switch, create new branches with -c, return to the previous branch with -, and handle detached HEAD, a modern alternative to checkout.
Git merge combines a feature branch into master, often using fast-forward by default, while concurrent changes trigger a three-way merge with potential conflicts.
Master branching with git branch and checkout, then merge into master while handling and fixing merge conflicts. Delete merged branches, and manage detached head and dangling commits to reverse changes.
Push changes to a remote repository with git push, including specific branches, all branches, or tags, and delete remote branches. Resolve conflicts by pulling and merging before pushing.
Learn to synchronize a local repo with a remote, resolve unrelated histories conflicts using git pull origin master --allow-unrelated-histories, resolve conflicts with git add and commit, then push.
Git, short for Global Information Tracker, stands as one of the foremost Version Control Software (VCS) tools in use today. It plays a crucial role in the realm of Source Code Management (SCM), allowing developers to efficiently track changes in their codebase over time. This course aims to equip you with a comprehensive understanding of Git, from its foundational concepts to practical application through a series of hands-on GitHub exercises.
"This course is really good" - Madhavan R
"Good way of telling things to make users understand. Even for freshers. Thank you very much for your time given to make less things unknown." - Rajesh Sharma
"Thank you so much, this course is awesome." - Ashraful Rahman Sakil
"I really like the content of the course. Introduction of Version controls is explained in very simple with good example which help me to understand easily." - Avinash Jaiswal
"Sanjeev has strong grasp on the subject. His way of teaching is keeping it simple and breaking down complex logic in layman terms." - Sunny Kumar Aditya
The curriculum is meticulously designed to cater to individuals with varying levels of familiarity with Git. Whether you're a complete novice or someone looking to reinforce your grasp of the fundamentals, this course is tailored to meet your needs.
Commencing with the basics, you'll delve into the core concepts of Git. This includes an exploration of repositories - the virtual spaces where your code is stored and managed. You'll gain hands-on experience in setting up repositories, a fundamental skill for every developer.
A pivotal aspect of Git is its ability to capture and preserve changes made to your code. Throughout the course, you'll learn the art of committing changes, an essential practice for maintaining a clean and organized code history. This process ensures that you have a detailed record of alterations, facilitating easy tracking and reverting if necessary.
Additionally, the course delves into the intricacies of synchronizing your local repository with remote repositories hosted on platforms like GitHub. This is a pivotal skill for collaboration, allowing multiple developers to seamlessly integrate their work. You'll learn the ins and outs of pushing and pulling code, ensuring that your local copy remains in harmony with the central repository.
As you progress, you'll encounter the inevitable challenge of handling conflicts. Git provides powerful tools for resolving these conflicts, and you'll become adept at merging changes from different sources, a critical skill for collaborative projects.
By the culmination of this course, you will have developed a robust proficiency in Git and GitHub, enabling you to navigate and contribute to codebases with confidence. Whether you're seeking to enhance your professional development toolkit or simply looking to streamline your personal coding workflow, this course provides the foundational knowledge and hands-on experience needed to excel in version control with Git.
Key concepts covered in Git Fundamentals:
Understanding version control software
How Version control works
Introduction to Git and GitHub
Essential git commands
Setting up repository
Saving changes locally
Syncing repositories
Merging and Branching
What’s Next