Welcome! This guide is for people who are new to GitHub and want to learn how to upload files to a repository. Whether you're sharing code, documents, or any other files, GitHub makes collaboration easy. Follow the steps below to get started.
A repository (or "repo") is like a folder for your project. It contains all your project’s files and tracks the history of changes.
- Create a free GitHub account if you don't already have one.
- Log in to github.com.
- Click the + sign in the top right corner and select "New repository".
- Fill in the repository name, description, and choose if it should be public or private.
- Click "Create repository".
- Go to your repository on GitHub.
- Click the "Add file" button, then choose "Upload files".
- Drag and drop your files or click "choose your files" to select from your computer.
- Scroll down, add a commit message (a short description of your upload).
- Click "Commit changes" to upload your files.
- You can upload multiple files at once.
- For large files, you might need Git Large File Storage (LFS). - Make sure your files do not contain sensitive information before uploading.
Happy collaborating! 🚀