Claude Code + GitHub: Step by Step for Complete Beginners

Ryan & Matt Data Science
27,649 views โ€ข

๐Ÿ’ผ Business owner or operator with a team? We build AI automation systems that cut costs and scale ops โ€” done for you: https://ryanandmattdatascience.com/git-claude-code-consultant ๐Ÿš€ Want to make money with AI skills? Join our free community โ€” real projects, real client strategies, and the exact stack we use: https://ryanandmattdatascience.com/git-claude-code-skool Before you dive into Claude Code's advanced features, you need to know Git. In this beginner-friendly walkthrough on Windows, we cover everything from installing Git and the GitHub CLI, to creating your first repository, pushing files, protecting API keys with .gitignore, pulling changes from remote, and even using Claude Code itself to summarize your commit history. Git is version control for your entire project โ€” and once you learn it, you won't know how you worked without it. TIMESTAMPS 00:00 โ€“ Why you need Git before using Claude Code 00:19 โ€“ Step 1: Verify Git is installed (git --version) 01:08 โ€“ Step 2: Configure your Git identity (username & email) 02:31 โ€“ Step 3: Install the GitHub CLI 03:28 โ€“ Authenticate the GitHub CLI 04:44 โ€“ Git concepts explained (local vs. remote repos) 05:54 โ€“ Key Git commands overview (commit, push, pull, fetch) 06:26 โ€“ Understanding the Git workflow (workspace โ†’ staging โ†’ repo) 07:52 โ€“ Hands-on example walkthrough begins 09:08 โ€“ Creating project files and a Python analysis script 10:33 โ€“ Building a README.md 11:21 โ€“ git status, git add (staging your files) 12:08 โ€“ git commit (saving your changes) 12:52 โ€“ Creating a GitHub repository (public vs. private) 14:04 โ€“ git push (sending files to GitHub) 16:29 โ€“ Protecting API keys with .gitignore 17:02 โ€“ Creating a secrets file 18:38 โ€“ Committing with .gitignore in place 19:28 โ€“ Editing files on GitHub and pulling changes locally 20:37 โ€“ git fetch + git pull 21:58 โ€“ git log (viewing commit history) 25:41 โ€“ Using Claude Code to interact with your Git repo 27:20 โ€“ Making commits with descriptive messages 28:09 โ€“ Cloning a repository from GitHub 29:55 โ€“ Wrap-up and what's coming next OTHER SOCIALS: ๐ŸŒ Website & Blog: https://ryanandmattdatascience.com/ Ryanโ€™s LinkedIn: https://www.linkedin.com/in/ryan-p-nolan/ Mattโ€™s LinkedIn: https://www.linkedin.com/in/matt-payne-ceo/ Twitter/X: https://x.com/RyanMattDS *This is an affiliate program. We receive a small portion of the final sale at no extra cost to you.

Keyboard shortcuts

On. Switch them off if they collide with your assistive tools; ? still opens this sheet.

Go to

Press g then the letter.

  • gh Latest
  • gs Sources
  • gm Media
  • gv Videos
  • gp Podcasts
  • gc Calendar
  • gd Decoder
  • gz Dataviz
  • ga Datasets
  • gb Blog
  • gk Markets
  • gj Careers
  • gn Prompt Notebook

On this page

  • / Focus search, where there is one
  • t Back to top
  • ? This list
  • Esc Close