Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Git Fundamentals
Rating: 4.6 out of 5(17 ratings)
70 students

Git Fundamentals

Learn the fundamentals of using Git for source control through practical examples and exercises
Created byDevFluence .
Last updated 1/2023
English
English [Auto],

What you'll learn

  • To know what source control is, and what Git is
  • To be able to navigate a file system using the command line
  • To be able to stage and commit your changes to Git
  • To be able to view the log and history of commits
  • To know how Git stores your changes on your file system (a basic understanding)
  • To be able to push your changes to a remote repository
  • To be able to get others' changes from a remote repository
  • To know the difference between rebasing and pulling and be able to do both
  • To be able to deal with merge conflicts when pulling or rebasing
  • To be able to branch and merge
  • To be able to stash working changes temporarily
  • To be able to tag a commit with a human-friendly name
  • To be able to use Git Extensions, a GUI front end for Git, in order to help you fulfill your daily development tasks quicker

Course content

6 sections38 lectures3h 49m total length
  • Welcome!3:27

    Master git fundamentals for source control with command-line workflows for local and remote repositories. Explore branching, merging, and stashing, plus a gui option with git extensions.

  • Introduction and Course Structure2:31
  • What is Source Control (aka Version Control)?9:53

    Explore how version control records file changes over time, from manual copy techniques to distributed systems like git, enabling local commits and remote pushes for collaborative development.

  • Installing Git on Windows8:08

    Install git on Windows by downloading the 64-bit installer, selecting a preferred editor, and configuring path and line ending options for a smooth setup.

  • Intro to Windows Command Prompt9:07

    Master the Windows command prompt and file system basics, including navigating directories, switching drives, and using core commands like cd, dir, mkdir, copy, rename, and move for Git workflows.

  • Windows Command Prompt Exercises0:17
  • Intro to the Bash Shell8:25

    Explore the bash shell and git bash basics, highlighting differences between Windows and Unix file systems, using forward slashes, and navigation commands like cd and ls.

  • Bash Exercises0:19
  • Your First Repository9:24

    Initiate a local git repository with git init, explore the .git folder, and track changes by adding files, staging, and committing on the main branch to build a repository history.

  • Configuring your Name and Email3:13

    Configure your global git identity by setting your name and email so every commit records the correct author, and learn to view and edit git config settings.

  • Further Notes and References0:17

Requirements

  • The ability to code in a programming language (at least 1 year of study or experience)
  • An understanding of files and the file system on Windows
  • The ability to use the Command Prompt or Powershell in Windows, at a basic level, to navigate a file system and execute commands.
  • An email address in order to sign up to Github (a free account)

Description

Git is the most popular source control tool in the world today, so knowing Git is an essential skill for just about every developer. This course covers the fundamentals of Git - what it's for, how it works, and how to use it in your every day work. 

We cover all of the day to day usage of Git, from cloning, to committing, to pushing and pulling, and even branching and merging (and the dreaded merge conflict). The course is aimed at developers who are coming to Git for the first time so no prior knowledge is necessary, but it's also useful for those of you who have been using Git and are wanting to gain a slightly better understanding of how things are working and how to think about what Git is doing so that you can troubleshoot when it throws surprises your way.

In the interest of preparing you for day to day usage, we also cover using Git Extensions, a cross-platform third-party UI built on top of the Git command line that you can use to be more productive in your daily work.

For each section we provide practical video demonstrations of each activity, diagrams showing how what we've done has affected the repository, and also some exercises for you to do in order to practice for yourself.

This course should get you up and running with using Git in your daily work, and provide you with enough understanding of the underlying systems and concepts that you are able to utilize the power Git provides.

Who this course is for:

  • This course is designed for developers who are new to source control, or have not yet used Git