Create Repository
After you have a GitHub account, the next step is to create a repository. A repository (often called "repo") is a place to store your project files on GitHub.
Think of it like a folder on your computer, but online. Once your Docusar project lives in a GitHub repository, you can deploy it, back it up, and update it from anywhere.
Step 1: Open the New Repository Page
- Log in to https://github.com
- On the top-right, click the + icon
- From the dropdown, click New repository
You will see a form to create a new repository.
Step 2: Fill in Repository Details
Fill in the form like this:
Repository name:
- Choose a short name without spaces. Example:
docusar-docsormy-docs-site - Use lowercase letters and dashes. Do not use spaces or uppercase.
Description (optional):
- A short sentence about your project. Example:
My Docusar documentation site
Visibility:
- Choose Public if you want free hosting on Vercel, Netlify, or Cloudflare Pages (their free plans require public repos)
- Choose Private if you want to keep the code hidden. Note: some free hosting plans may not support private repos.
Initialize this repository with:
- Important: Leave all checkboxes unchecked. Do NOT check "Add a README file", "Add .gitignore", or "Choose a license".
- If you check these, your repository will have files inside it, and this can cause conflicts when you push your Docusar project later.
Step 3: Create the Repository
- Click the green Create repository button at the bottom
- GitHub will create your repository and show you a page with setup instructions
- Keep this page open in your browser - you will need the repository URL later
Your repository URL will look like this:
https://github.com/yourusername/your-repo-name.git
Example:
https://github.com/sonandrest/docusar-docs.git
Step 4: What Next?
Your repository is now created, but it is still empty. You need to connect your local Docusar project to this repository and push your files.
See the next doc: Clone Repository to clone the repository to your local device and move your Docusar project into it.
Tips:
- Write down your repository URL somewhere safe - you will need it in the next steps
- Do not close the page until you have copied the URL
- If you accidentally checked "Add a README file", you can delete the README file later or use
git pull --allow-unrelated-historieswhen pushing