
In this lecture, you will:
Introduce yourself on the discussion forums.
Set two or three personal goals to achieve during and after the course.
Download and install git from the official site using the latest release, configure defaults (main as the initial branch, path, editor set to Visual Studio Code), and launch Git Bash.
Learn how to work with git bash and how to use the command cd to change directories to reach your project folder.
Discover how to configure git, set your username and email, and attach a text editor for commit messages while learning how to change the default branch.
Learn how to customize the username that will be shown in your commits.
Learn how to customize the email that will be displayed in your commits.
Check your current default branch with git config --global init.defaultBranch, then set it to main or master for new repositories, and keep main as the standard.
Compare local repositories stored on your computer with remote repositories on a server, and learn how push and collaboration via GitHub enables sharing history.
Step-by-step walkthrough to create your first repository using git with the command git init.
Delete a repository by removing the hidden .git folder, via the command line or file explorer, which deletes revision history and leaves a normal folder.
Brief description of the topics that will be covered in this section.
Learn the three main sections that you will use in your daily work using git and how they work.
Working Directory.
Staging Area.
Repository.
Learn how a file tracked by git has one of the 3 Main States, what they are, how to determine the state of a file and how they work.
Master the staging area to selectively stage changes for the next commit with git add, review and adjust your changes, and keep commits small to reduce merge conflicts.
Unstage changes by removing them from the staging area while keeping the files in the working directory, using git rm --cached for files and directories recursively.
Learn how you can see the differences between your working directory and your staging area with the command git diff.
Discover the building blocks of repositories and commits, learn how to create commits and write messages with best practices, and view your commit history to track changes in your project.
Learn what commits are, how they are used and their importance for version control.
Create your first commit with this step-by-step walkthrough.
Learn how to see your commit history and the changes introduced by each commit.
Explore advanced git log usage, including one-line and limited outputs, author filtering, and visual graph views, while performing staged commits and diff checks to manage history.
Learn how to change the message of your last commit in case you make a mistake or need to correct typos.
Learn how you can combine several commits into a single commit in case you want to include several small changes into a single commit.
Learn to squash two git commits using git rebase -i head~2, edit and combine their messages, save, and verify with git log before merging into main or other branches.
Learn how you can remove several commits to restore previous versions of the project.
Learn how your can remove the last commit you made in case you made a mistake that you need to fix.
Learn to list all files in a repository with the ls command and perform file operations in git, including removing, untracking, and renaming files like styles.css and a readme markdown.
Learn to remove a file from the repository and working directory with git rm, stage the deletion, and commit the change with a descriptive message.
Learn how branches create independent lines of development to support feature work without affecting the user experience. Master essential branch operations, including create, switch, rename, and delete.
Learn what branches are, how they are used and why they are vital to work with version control.
Learn to list all branches in a repository using git branch with no options, and see the asterisk marking the current branch.
Create your First Branch with this step-by-step walkthrough.
Learn how to change branches in git bash.
Create a commit on a branch by updating the readme heading, stage the changes, and use git log to see the branch-specific history and independent lines of development.
Rename a branch with git branch -m old new to a more descriptive name, such as create account, and switch branches to see the working directory reflect changes.
Master the essentials of Git with this intensive crash course. Git is a version control system that allows you to work on different versions of your projects, track your changes, go back to previous versions, and collaborate with other developers. Learning version control is essential for every developer.
In this course, you will learn how Git commands and operations work behind the scenes with diagrams and visual resources. Plus, you will take interactive quizzes to check your knowledge after each section.
Git is your next step towards a bright future in software development.
During the course, you will learn how to:
Install and configure Git with your username and email.
Create your first local repository.
Work with local repositories to record and review changes
Work on your project without any risk of losing your changes.
Restore previous versions of a project.
Create, work with, and delete branches in a repository.
Use the Git workflow and its three main areas.
Make commits to track changes.
Save changes by stashing them.
Combine (squash) commits when needed.
See the history of commits of a repository.
Merge branches.
Work with files using Git.
Ignore files with .gitignore.
Student Reviews
See what students are saying:
"This is a wonderful course! I went from not knowing anything about Git to feeling comfortable to use this on my own!"— Amanda Brioche
"Very good entry level course for beginners." — Kozma János
"Very nice for beginners! All the basics in one place." — Tomasz Czaplicki
Learning Material
You will learn with:
Video Lectures: you will watch carefully designed video lectures with graphics, diagrams and step-by-step explanations.
Quizzes: you will check your knowledge with quizzes that provide instant feedback.
PDF Handout: you will find a PDF handout with the Git commands that you will use throughout the course and their purpose.
Capstone Project: you will apply your knowledge in a final project where you will analyze a repository.
Discussion Forums: you can ask questions on the discussion forums and discuss interesting topics.
This course is perfect for beginners who want to quickly get a grip on Git and version control. We'll dive into the core concepts and explore how it all works behind the scenes. You will learn how to apply these skills to your own projects.
Why this Course is Unique
This course is unique because of its emphasis on providing visual and detailed explanations of the principles of Git and version control. You will not only learn how to use these principles, you will actually understand the purpose of each command.
Unique study materials complement the course experience. You will find a PDF Handout with a summary of the most important Git commands.
You will check your knowledge with Quizzes and receive instant feedback.
You will receive a Certificate of Completion that you can add to your social media profiles to showcase your new skills.
You will also have Lifetime Access to the course.
No Previous Knowledge is Required
You are very welcome to watch the preview lectures and check out the full course curriculum.
If you are looking for an engaging, visual, and practical course, you found it.
Enroll now, add "Git and Version Control" to your resume, and showcase your new skills.