Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Gitting Started: Step-by-Step Git and Github Crash Course
Rating: 4.5 out of 5(420 ratings)
42,000 students

Gitting Started: Step-by-Step Git and Github Crash Course

Git started now with a hands-on guide to learning both Git and GitHub from an expert.
Last updated 9/2021
English
English

What you'll learn

  • How to use Git to manage your project
  • How to collaborate with other developers using Git and Github
  • How to create commits
  • How to create Git branches and merge them
  • How to resolve merge conflicts in Git
  • How to manage pull-requests on Github
  • How to tag commits using both lightweight and annotated tags
  • How to create Github releases
  • How to use various Git commands in the command line

Course content

9 sections38 lectures2h 19m total length
  • Welcome2:11

    Begin this hands-on git and github crash course using the command line, with setup videos for mac and pc, editor setup, quizzes, and a built-in q&a.

  • What is Git?2:12

    Discover how git prevents version hell by taking snapshots of your project and tracking what, who, when, and why. Apply git to manage directories with many files and multiple developers.

  • Git help pages2:07

    Explore how to access Git's built-in documentation with git help and dash --help, and use the terminal to navigate commands, obtain a quick cheat sheet, and build self-reliant Git skills.

  • Create a new Git repository4:10

    Learn to initialize a git repository with git init, understand the dot git directory, working tree, and how to create commits (snapshots) of your project.

  • Git status1:38

    Learn how git status reveals your repository state, including on branch master with no commits yet. Understand tracked versus untracked files and how to add untracked files.

  • Prepare for your first commit2:30

    Learn how git stores snapshots with timestamps and author data. Configure your identity with git config --global user.name and user.email, then craft your first commit message using your editor.

  • Create your first commit3:08

    Create your first commit by staging files with git add, checking git status, and writing a clear commit message to ensure the working tree is clean.

  • Add a second commit1:57

    Add a new quotes file and create a second git commit by staging changes. See git status and commit with -m to label the Larry Wall quotes.

  • Introducing the staging area2:48

    Explore the staging area, also known as the index or cache, as a pre-commit snapshot; learn how git add moves changes here and how you can split changes into commits.

  • Making use of the staging area5:24

    Master the staging area by interactively staging changes with git add -p, splitting a file into hunks and choosing which to commit. Apply efficient commit workflows using git status, and git commit with dash a and dash m to stage all changes and provide a concise message.

  • Section 1 review

Requirements

  • The ability to install software on your computer
  • Very basic familiarity with command line

Description

This course is going to give you a solid introduction to both Git and GitHub, all in the time it takes to watch a movie.

Note: This course is up-to-date and uses the newer commands (switch and restore) introduced in Git 2.23.

I've designed this course to make the most of your limited time by cutting out any unnecessary theory and diving right into using Git. The course is very hands-on and guides you through using Git and GitHub effectively. It supplements the video courses with quizzes to further solidify your knowledge.

In this course, we'll use the terminal to:

  • create a Git repository

  • add commits

  • create branches

  • merge them

  • add tags

  • explore the history of your project

  • study individual commits

  • deal with merge conflicts

  • configure remotes

  • push to and pull from remotes

We'll also use GitHub to:

  • create, review and merge pull-requests

  • create GitHub releases

  • browse through the code in different versions

And we'll do all of this in just 2 hours! By the end of this course, you'll be able to use Git for your day-to-day work with ease.

This course comes with a 30-day money back guarantee. No questions asked. You have so much to gain and nothing to lose. So why wait?



--------------------------------------------------------------------------------------------------

All emojis designed by OpenMoji – the open-source emoji and icon project. License: CC BY-SA 4.0

Who this course is for:

  • Anyone new to Git
  • Anyone who interacts with the software development lifecycle
  • Anyone interested in managing historical versions of their project