Git and GitHub Version Control Guide

This guide explains a practical version-control workflow for the Zookeeper_commodity_risk_premium research project.

1. Core Concept

Git records versions of files on your computer. GitHub stores a remote copy of the Git repository.

The normal workflow is:

Pull -> Edit -> Review -> Stage -> Commit -> Push

Git does not automatically save each edit as a version. A version is created when you make a commit.

2. Enter the Project

Open Terminal and run:

cd "/Users/geraldchai/Documents/02-Work(interns:projects:cvs)/sinolink/projects/commodity"

Confirm the location:

pwd

3. Standard Daily Workflow

Step 1: Download Remote Changes