Copy of ??Day 14/20 – Let's create our first GitHub Repository!
Day 14 of the #20DoLC
In our last post, we learned how to create a GitHub account—a crucial first step in managing and collaborating on code. Now that your account is set up, it’s time to create our first repository!
A repository is where your project files are stored, tracked, and managed using Git. Here’s how to set one up:
1. Creating a New Repository
?? Click the "+" icon (top right) and select "New repository"
?? Enter a repository name (e.g., my-first-repo)
?? Choose :
- Public (visible to everyone) or Private
- Initialize with a README (optional) ?? Click "Create repository" ??
2. Connecting a Local Project to GitHub
?? Open Git Bash or Command Prompt, navigate to your project folder, and initialize Git:
?? You’ve successfully created a GitHub repository and pushed your code!
?? Next Step: We will learn how to host Live Pages on GitHub! (Stay tuned ??)