4.65 out of 5
4.65
91 reviews on Udemy

Git Complete Hands on Training for Web Developers

Learn Git commands, Centralized and Distributed workflows with real time projects. Training for Web Developers
Instructor:
Deepika Khanna
2,547 students enrolled
English [Auto-generated]
You will be an expert at Git and how to use Git in your project
You will understand the entire workflow of Git
You will learn about merging,Branching,Tagging,Rebasing,Bitbucket,Distibuted workflows,Centralized workflows
Create and fork repositories on Bitbucket and push changes back after working after working on them locally

Git is one of the most popular version control tool available in the market. Git is Number One choice for every Web developer, no matter if you are a Java developer or a .Net developer or a Salesforce Developer, you will need a version control tool to keep track of the changes in your project.

Git is free and a open source version control system. Git is distributed version control system whereas the other older version control system like SVN and CVS are centralized. Because Git is distributed, every developer has its own repository on the local file system. With Git, first initial clone of the repository is slow but the subsequent functions like commit,diff,merge and log are faster.
 
 Git has great support for branching,merging,rebasing. With the help of Git powerful tool set you can even rewrite history.
 
 Git is the most common and widely used version control system in the world today and its the modern standard to develop software.

With this course you’ll learn how to master the world of distributed version workflow, use the distributed features of Git to the full extent, and extend Git to meet your every need.

This course is not just plain -old power-point presentation, we will learn by doing and by the end of this course you will become an expert with Git Version control.

1
IntroVideo

Introduction to Git: Version Control System

1
Introduction to git version control

In this tutorial we will talk about version control software named Git. We will see how this Git is a powerful tool when it comes to keeping track of your changes in the project. We will also walk through Different workflows available like Centralized,Distributed Workflows. We will also cover the advantage and disadvantage related to this workflow

2
Download and Install Git for Windows

In this tutorial I will show you how to  install Git GUI and Git bash on your windows laptop.

3
Initializing Git Repository

In this tutorial we will create our first Git repository.

4
Git Config set name and email : Create a Git Account

Git config command is used to configure a new repository. So if you want to know who made what changes in the repository,you first need to configure the user name and email. Using git config command you will be able to configure the author name and email so next time  if someone makes any change or commit then you will exactly know who made those changes in the project.

5
Review for the course
6
Stage the snapshot and commit your changes

Committing changes through Git happens in two step: first step is to stage the changes and the second step is to commit those changes. 

7
Commit Multiple files and check the commit log History

Now we have made several changes and several commits to the repository, now we will see how to check our commit history.

8
Stage and Commit the Snapshot.Explore the Repository History

In this tutorial we will see how to see our commit history in one line instead of the descriptive long history.

9
Quiz I

This Quiz is to test the basic understanding of Git

10
Summary of this Section

Advance Concepts

1
How to Tag a Release?? Difference between revert and viewing old revision?

Tagging: 

Tagging is very useful when you want to tag specific points in history as important.And these are generally used to mark the release points. For eg: v1.0,v2.0 etc. In this tutorial you will see how to tag a release,how to view the list of tags available,how to create new tags

2
How to Undo the uncommitted changes ? Difference between Revert and Reset

Git reset, Git revert and git commit are the three most used and popular commands  in Git toolbox.  In this tutorial we will talk about these commands in detail.

Resetting: If you want to move the tip of the branch to different commit. Reset command is used to remove the commits from the current branch. So in other words,Git reset is used to undo the changes that you haven't shared with anyone yet. So these are used to undo the uncommitted changes.

3
Summary of this section
4
How to Create a new git branch from a commit?
5
Quiz II

This quiz contains questions on revert,reset,checkout and tagging

6
Log History of two branches are different

Start our Crazy Experiment with Branches

1
Creating a new branch css for stylesheets changes

In this tutorial we will start on our crazy experiment and create a new branch to add our CSS changes for our website.

2
Merge CSS branch into master and then deleting the CSS branch

In this tutorial we will merge our changes to the master and we will delete the development branch.

3
Summary of commands related to Branch
4
Quiz III

This quiz contains questions related to branches and merging.

5
How to Resolve Merge Conflicts?

Once we are done making the changes in our development branch, next step is to bring these changes  to the main branch or the master. And this is called as merge.  Depending on the structure of the repository,merge can either be a fast-forward or 3-way merge.

Difference between a fast-forward and 3-way merge?
A fast-forward merge can occur when there is a linear path from the current branch tip to the target branch.
In fast-forward merge, all Git has to do to integrate the histories is move the current branch tip up to the target branch tip.
 But fast-forward merge is not possible when branches are diverged.When there is no linear path to the target branch, then Git has to follow a 3-way merge. 3-way merges uses a dedicated commit to tie together the two histories.
 It is called as 3-way commit because Git uses 3 commits to generate the merge commit,

6
Summary of the Section

Rebasing

1
Introduction to Rebasing
2
Difference Between Rebase and Merge
3
Manipulate individual commits and edit commit history using Rebase
4
Rebasing can be dangerous: It allows to amend commits

Interactive Rebasing is useful when you want to alter individual commits in the process. With interactive rebase you can clean the commit history by removing,splitting and alter the existing series of commits. Its like git commit --amend on steroids.

5
Summary of the Rebase commands
6
Rules to follow during Commit
7
Quiz IV

This quiz contains question on Rebasing and Merging?

8
Interactive Rebase to split Generic commit

In this tutorial I will show you how to split a generic commit into two or more commits using interactive rebase.

Interactive Rebase helps you to alter commits as they are moved to the new branch. Interactive rebase is more powerful than doing an automated rebase. With interacive rebase you get full control over the branch commit history.
Interactive rebase is also used to clean up a messy history before you merge your changes into master.

9
How to Revert/Revive a Lost Commit using Reflog ?

Reflog is a mechanism through which Git keep track of the updates to the tip of the branch.

10
Summary of the Section
11
Quiz V

This quiz contains questions on reflog,resetting and rebase.

Remote Repository

1
Create and Configure the new remote repository

In this tutorial we will create and configure a remote repository for Mary ( Graphic Designer in our team) so that she can make her contributions to our website project.

Remote repositories are versions of your project that are hosted on the Internet or network somewhere. To collaborate with other developers in the team we need to know how to manage these remote repositories and how to push and pull data to and from these remote repositories.

2
Make Connection To Remote Repository
3
Merge changes from Remote repository into our repository

In this tutorial we will merge the changes from Mary's master branch into our my-git-repo repository.

4
Difference between pushing and fetching ? How to push branches and Tags ?

In this tutorial we will talk about Pushing. And we will see how we can push our changes to other developer repository.

5
Summary of the Section
6
Quiz VI

This quiz test your knowledge about remote repositories.

Initializing Git Repository

1
Creating a central git repository

In this tutorial we will see the difference between personal and centralized Git repository. We will also create our first Centralized repository.

2
Setting up a git central repository

In this tutorial we will create a connection between mary-repo and central-repo, similarly we will establish the connection between my-git-repo and central-repo.We need to establish the connection so that we can fetch and pull our code changes.


3
Git push to central repository

In this tutorial we will see how to push to central repository.

4
Git Fetch and Pull into Central repository

In this tutorial we will  Git Fetch to retrieve the changes from central repsitory and Git Push to push our changes into centralized repository.

5
Summary of the Section

This lecture gives you a quick recap of Centralized repo and the commands we  discussed. We will also cover some disadvantages and drawbacks related to centralized repo.

6
Distributed workflow management system

In this tutorial we will take a quick look at Distributed workflow and how is it different than Centralized Workflow. Distributed workflow makes Git very powerful.

7
Create a Bitbucket Repository

In this tutorial, we will create a bitbucket account where we will host our public repository. And my-git-repo and mary-repository will make a connection to this remote repository to transfer future changes/updates.

8
Git distributed version control—fundamentals and workflows

In this tutorial we will look at the inner workings of distributed workflows.

9
Final Lecture

BONUS SECTION

1
Bonus Lecture: Discount Coupon codes to other courses​
You can view and review the lecture materials indefinitely, like an on-demand channel.
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don't have an internet connection, some instructors also let their students download course lectures. That's up to the instructor though, so make sure you get on their good side!
4.7
4.7 out of 5
91 Ratings

Detailed Rating

Stars 5
55
Stars 4
25
Stars 3
8
Stars 2
3
Stars 1
0
a4f3b35f9d992fa02ab51ed5fea9b4d3
30-Day Money-Back Guarantee

Includes

5 hours on-demand video
1 article
Full lifetime access
Access on mobile and TV
Certificate of Completion