Git and GitHub

DevOps Training Overview

This Git and GitHub course explains how to use Version Control and Git as a Distributed Version Control System (DVCS). A mixture of theory and practice will ensure that you can confidently use Git and GitHub for your projects.

DevOps Training Audience

This course is for you if you want to get started using Git and GitHub to easily maintain big projects and promote easy collaboration in small or big teams.

DevOps Training Prerequisites

This course is designed for complete beginners. No previous knowledge is mandatory, familiarity with the terminal command line would be beneficial.

DevOps Training Course outline

Introduction to version control with Git

  • what is Git and what do we use it for
  • introduction to git
  • what is a repository (repo)
  • local environment
  • the staging area
  • remote environment
Basic Git commands
  • initialising a project with git init
  • creating a repository locally or via GitHub
  • checking the staging area with git status
  • knowing which repo we are working on with git show origin
  • adding content to staging area with git add
  • committing changes with git commit
  • pushing content with git push
  • pulling changes with git pull
  • writing notes and readme.md, introduction to markdown
  • ignoring content and the .gitignore file
  • removing content with git rm
  • moving files with git mv
Working with branches
  • what is a feature branch
  • creating a new branch
  • git checkout
  • checking which branch we are working on
  • discarding edits
  • merging branches
  • resolving merging conflicts
  • aborting a merge
  • squashing commits in one branch
  • deleting a branch
  • discarding edits with git checkout
History
  • checking history, previous commits and changes
  • git diff
  • git log
  • git reflog
Users
  • setting user details with git config --global
  • fixing issues with users
  • accepting collaborators
Promoting collaboration
  • forking someone else's repository
  • duplicating a repo
  • modifying a forked repo
  • pulling requests
RESET
  • reset soft
  • reset mixed
  • reset hard
Advanced topics
  • editing last commit message
  • git rebase
  • stashing
  • submodules
  • workflow suggestions
  • large file storage (LFS)
  • the .gitconfig file
  • creating and using aliases
  • solving conflicts
  • publishing on github.io
  • accessing your remote server via terminal using SSH


Wintrac Inc.
16523 SW McGwire Ct.
Beaverton OR 97007
© Wintrac, Inc. All rights reserved.                                                                               Site Map   |   Terms of Use   |   Privacy Policy