Skip to content

Instantly share code, notes, and snippets.

GitHub Teacher githubteacher

Block or report user

Report or block githubteacher

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
githubteacher /
Created Nov 13, 2019
Questions to check your understanding of some Git and GitHub concepts.

Beginner: Check for understanding

  1. (multiple answer) Git is:

    • a. A version control system
    • b. Centralized
    • c. Distributed
    • d. The same as GitHub
  2. (T/F) Git and GitHub are the same thing.

githubteacher /
Last active Dec 7, 2018
A description for the Learning Lab GitHub App

Level up your GitHub skills with GitHub Learning Lab. Our friendly bot will take you through a series of fun, practical projects that will give you the skills you need in no time--and share helpful feedback along the way.

  • Learn the way you work: Work directly in the GitHub repositories, issues, and pull requests with guidance and feedback from our bot
  • Pick up new skills: Discover new challenges and learn how to work better with GitHub Track your accomplishments: See the courses you’ve completed on your profile page

Getting started with GitHub Learning Lab

Install GitHub Learning Lab as you would install any GitHub App. GitHub Apps take extra steps to be respectful of your privacy but require a little bit of setup to get started.


Hello Norman

This is a test of Markdown

  • Bullet list
  • Item one
  • Item two
githubteacher /
Created Feb 29, 2016
Adding your Git branch to your command prompt

To show your active Git branch in your command prompt, you will need to do the following:

  • If you are on a Mac, you can add the code shown below to your .bash_profile file.
  • If you are on Linux, you will add the code shown below to your .bashrc file.
  • If you are on Windows, you probably aren't reading this because Windows provides this behavior by default.

The Script

parse_git_branch() {

Ideas here

  • Creating repos on
  • Creating branches on
  • Opened Pull Requests on
  • Workflows
    • Mapping this to real world process
    • GitHub Flow
    • Git Flow
  • Permissions
  • Git and initial setup
  • Git configuration
  • Your first repository
  • Git's three stages
  • Adding and committing
  • Overview of Git's Architecture
  • Reviewing and diff-ing content changes
  • Network protocols, proxies, and Git's speed
  • Branching, Tagging, and Stashing
  • Merging, Rebasing, and managing conflicts
githubteacher /
Created Apr 29, 2014
A simple Markdown example

Header one

Body text

You can’t perform that action at this time.