Web Development Notes
  • Welcome!
  • Fundamentals of Web Apps
    • HTTP GET
    • Traditional Web Applications
    • Running Application Logic
  • HTML
    • Basics of HTML
  • CSS
    • Basics of CSS
  • Javascript (JS)
    • Navigating Terminal
    • Git and GitHub
    • Intro. to JS & Programming
    • Conditionals, Booleans, Loop
    • Arrays and Iteration
    • Functions, Scope
    • Program Design, Objects
    • Combining Datatypes
    • Callbacks
    • Array Methods w/Callbacks
    • OOP (object methods, classes)
    • DOM Intro
    • Jquery
    • DOM Manipulation with Functions and Loops
    • Populating Dom from Data
    • DOM Events (listeners and handlers)
    • Event Bubbling
    • DOM capturing input, iteration, targets
    • AJAX
  • React
    • Introduction To React
    • Using JSX
    • Class Names
    • Create React App
    • Alternatives to CRA & Node Package
    • React Components & Props
    • Nested Components
    • Advanced JSX
Powered by GitBook
On this page
  • How Git & Github Works
  • How To Pull Request
  • What is a Git Branch?
Edit on GitHub
  1. Javascript (JS)

Git and GitHub

PreviousNavigating TerminalNextIntro. to JS & Programming

Last updated 3 years ago

How Git & Github Works

Git is an open source and free distributed version control system (VCS) used for software development.

How To Pull Request

What is a Git Branch?

A Git branch is essentially an independent line of development. You can take advantage of branching when working on new features or bug fixes because it isolates your work from that of other team members.

Different branches can be merged into any one branch as long as they belong to the same repository. The diagram below illustrates how development can take place in parallel using branches:

Branching enables you to isolate your work from others. Changes in the primary branch or other branches will not affect your branch, unless you decide to pull the latest changes from those branches.

It is a common practice to create a new branch for each task (i.e., a branch for bug fixing, a branch for new features, etc.). This method allows others to easily identify what changes to expect and also makes backtracking simple.