GitHub is an essential tool for developers, students, and AI/ML enthusiasts to showcase their work. This quick guide walks you through uploading any project to GitHub in just five minutes.
- Create a GitHub Repository – Log in to GitHub, click the "+" icon, and select "New repository." Give it a name and a brief description.
- Connect Your Local Project – Open your terminal, navigate to your project folder, and run
git initto initialize Git. - Add and Commit – Use
git add .to stage all files, thengit commit -m "Initial commit". - Link to Remote – Copy the repository URL from GitHub and run
git remote add origin <URL>. - Push Code – Finally, push with
git push -u origin main.
Your project is now live on GitHub! This skill is vital for building your portfolio, especially in AI and machine learning fields.