4.05 out of 5
4.05
59 reviews on Udemy

Git by Example

Learn Git for teamwork and error-control, in the terminal and visual interface
Instructor:
Jose Salvatierra
967 students enrolled
English [Auto-generated]
To acquire an extremely important skill in software development: version control
To fully understand how Git works, instead of just having a high-level knowledge of it

Git is an essential skill for all team members of a technology company. In order to survive, technology companies are increasingly depending on continuous delivery to give customers a better experience. Git or other methods of Version Control are necessary in order to do this.

Git is necessary for teamwork, organisation, and management of projects. It is much easier to work when all team members can immediately see code changes and can follow what others have done.

It’s difficult to go wrong with Git. You can always roll back if someone deletes code, changes the structure of your project, or sends out incomplete code. Everyone makes mistakes, but when using Git properly, no mistake is fatal.

Today we will make sure you get familiar, understand, and then master the extremely popular Version Control system called Git. This was originally used in the Linux project, so it is lightweight, but able to cope with the largest of projects.

Throughout the course we will learn:

  1. What is Version Control, a gentle introduction for those not familiar with it.
  2. Markdown: what it is and how to use it.
  3. The basic structure of a repository. Vital to understand how everything works on a low level.
  4. Using the terminal/console properly.
  5. Using VIM, a great text editor within the console. We will use this to write commit messages when not using a GUI.
  6. Configuring Git. We will get it to work on any system.
  7. Basic Git commands that you will use in every project you are part of: git add, git commit, git push, git pull, git fetch.
  8. Writing meaningful commit messages. This is vital, so that everyone looking at the project can see what’s going on.
  9. Branches. What are branches?
  10. Organising branches via the Gitflow workflow. Ensuring your project has a great and easy to work with structure.
  11. Merging two branches together.
  12. Dealing with merge conflicts. We won’t have many of these!
  13. Using SourceTree for Git outside an IDE.

Now you can acquire a vital and in-demand skill to boost your CV and development abilities, help your team deliver working software, and make companies love you.

Join us now, and tomorrow you could be an expert. I’ll see you inside!

What is version control?

1
What is Version Control?
2
We will be learning Git
3
Markdown and the README.md file
4
What is the .gitignore file?
5
The structure of a repository

Basics of the terminal

1
What is the terminal?
2
Moving around the file system using the terminal
3
Moving and copying files with the terminal
4
Displaying and replacing file contents
5
Basics of VIM - a very powerful text editor!
6
Inserting text in VIM

Basics of Git

1
Configuring Git
2
Initialising a Git repository: git init
3
Initialising a Git repository (terminal video)
4
Adding files to the staging area: git add
5
Adding files to the staging area (terminal video)
6
Committing files to the local repository: git commit
7
Committing files to the local repository (terminal video)
8
Writing appropriate commit messages: this is VITAL if working in teams!
9
Adding a remote to your repository

In this video we look at adding a remote to our repository. It is a very simple process, but it needs to be done or else you won't be able to push and pull!

For Github help: https://help.github.com/articles/adding-a-remote

10
Pushing and pulling to and from the remote repository
11
Pushing and pulling (terminal video)

Branches and workflows

1
What is a branch?
2
Creating branches in Git
3
Creating branches (terminal video)
4
Pushing branches to origin
5
Bringing in branches from origin
6
Deleting local and remote branches
7
Merging branches: presentation
8
Merging branches (terminal video)
9
Reverting changes: git revert and git reset

In this video we take a look at how to revert changes made in a branch, by either deleting commits or creating new commits that 'undo' what the previous commits did.

10
Reverting changes (terminal video)
11
What is the "Gitflow" workflow?

Gitflow and SourceTree

1
Using SourceTree to initialise a git-flow repository
2
Creating our first Gitflow feature
3
Finishing (and publishing) our first feature
4
Stashing changes with SourceTree
5
Adding remotes in SourceTree
6
Cloning a remote repository in SourceTree
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.1
4.1 out of 5
59 Ratings

Detailed Rating

Stars 5
26
Stars 4
27
Stars 3
5
Stars 2
0
Stars 1
1
4d4e258a410b54b9459ecd8067f881cd
30-Day Money-Back Guarantee

Includes

3 hours on-demand video
Full lifetime access
Access on mobile and TV
Certificate of Completion