Back to Browse

5 Working with Git

10 views
Aug 10, 2025
5:40

Git Basics: Initialize a Repository & Use .gitignore in VS Code In this video, we start working with Git from within Visual Studio Code. You’ll learn how to create a local repository, initialize it with Git, control which files Git should track, and understand the three stages of Git: Working Directory, Staging Area, and Committed Files. This is a perfect lesson for beginners who have Git installed and want to take the first real step toward using it effectively in their projects. 📌 What You’ll Learn in This Video 0:00 – Welcome & Starting in VS Code 0:05 – Creating a Project Folder & Local Repo 0:36 – Creating Project and Python Files 1:15 – Changing Directory into Local Repo 1:20 – Initializing a Repository with `git init` 1:35 – Viewing the Hidden .git Folder 2:30 – Understanding Git Tracking & `git status` 2:54 – Why Some Files Shouldn’t Be Tracked 3:16 – Creating a .gitignore File 3:35 – Adding Patterns to Ignore (project, *.pyc) 4:00 – Checking Status After Adding .gitignore 4:18 – Why .gitignore Needs to Be Tracked 4:26 – Review of Initialization & Ignore Process 4:55 – The Three Stages of Git Explained 5:28 – Moving Files to the Staging Area (Preview) Related Links: Course: https://www.becloudready.com/devops-launchpad Land a DevOps Job in 60 Days: https://www.becloudready.com/post/devops-launchpad-land-a-devops-job-in-60-days Subscribe for more DevOps and software development tutorials: https://www.youtube.com/@UCmtepvrw2GfjB6JbyxpIp0A Follow For More on Social Media: Instagram: https://www.instagram.com/becloudready Facebook: https://www.facebook.com/becloudready/ X: https://x.com/becloudready LinkedIn: https://www.linkedin.com/company/becloudready/

Download

0 formats

No download links available.

5 Working with Git | NatokHD