Repository (Repo)

A repository is a storage location for your project's code, files, and complete version history. Hosted on platforms like GitHub, a repo is where your code lives, how you collaborate, and how deployment platforms access your project. It's the home base of every vibe-coded project.

Example

You create a GitHub repository called 'my-saas-app', push your vibe-coded project to it, and now your code is safely stored in the cloud. Vercel connects to this repo and auto-deploys every time you push changes.

A repository is where your project lives. Think of it as a folder for your code that also remembers every change ever made.

Local vs Remote Repositories

Local RepoRemote Repo (GitHub)
Lives on your computerLives in the cloud
Only you can access itShareable with anyone
Works offlineRequires internet
Your working copyYour backup and collaboration hub

You typically have both — a local repo you work in and a remote repo on GitHub that stays in sync.

Why Repos Matter for Vibe Coding

  • Backup — Your code is safe even if your laptop dies
  • Deployment — Vercel, Netlify, and others deploy directly from repos
  • Collaboration — Share code with teammates or contributors
  • History — Every version of your code is preserved
  • Open source — Make your project public for others to use and learn from

Getting Started

  1. Create a repo on GitHub — Give it a name and description
  2. Clone it locallygit clone <url> downloads it to your machine
  3. Write code — Build your project (with AI help)
  4. Push changesgit push sends your code to GitHub
  5. Repeat — Push regularly to keep the remote updated

Public vs Private

  • Public repos — Anyone can see your code. Great for open source and portfolios
  • Private repos — Only you and invited collaborators can access. Use for commercial projects and anything with secrets
Ad
Favicon

 

  
 
Related Tools: