GitHub for Beginners #3: Your First Commit & Push to GitHub
Watch the Video
Or watch it directly on YouTube: Click here
Video Description
You've cloned your repo - now let's actually DO something with it. We'll create a .NET console app, commit our changes locally, and push them up to GitHub. This is the workflow you'll use every single day as a developer.
What you'll learn: • Opening a repo from the command line with "code ." • Creating a .NET console project (dotnet new console) • Creating a solution file (dotnet new sln) • Adding projects to solutions (dotnet sln add) • Installing the C# Dev Kit extension in VS Code • Understanding the Source Control panel • Staging changes - what it means and why • Writing good commit messages • Local repo vs. remote repo (origin) - the mental model • Git push - sending your commits to GitHub • Verifying your changes on GitHub.com
Key insights: • "code ." from the terminal = open this folder in VS Code • Commits are LOCAL - they don't go anywhere until you push • The .git folder is what makes a directory a Git repository • "Origin" is just Git's name for "where this repo came from" • Push = sync your local commits up to the remote • The Source Control panel shows you exactly what's changed • Git's periodic fetch setting is worth enabling
We'll build: • A simple "Hello World" .NET console application • Your first real commit with actual code
Previous Video: Connect VS Code to GitHub & Clone Your First Repo Next Video: Clone and Work with Visual Studio (Windows) ► Full Playlist: https://www.youtube.com/playlist?list=PLGxFXI4dC2sitM2Pt-54nozRs4Bn7yovv
First push successful? Hit that like button! Subscribe and enable notifications - you're building real developer skills now. What was your first "real" project you pushed to GitHub? Tell me in the comments!
#GitHub #Git #VSCode #Commit #Push #DotNet #Programming #Tutorial #GitHubForBeginners #LearnToCode
Video Info
- Duration: 9:41
- Published: November 25, 2025