This tutorial will guide you through making your first contribution using GitHub Desktop, a user-friendly GUI application for Git.
- Download and install GitHub Desktop
- Create a GitHub account if you don't have one
- Sign in to GitHub Desktop with your GitHub account
- Go to the first-contributions-practice repository
- Click the Fork button in the top-right corner
- This creates a copy of the repository in your GitHub account
- Open GitHub Desktop
- Click File → Clone repository
- Click the GitHub.com tab
- Find your forked repository (
your-github-username/first-contributions-practice) - Choose where to save it on your computer
- Click Clone
- In GitHub Desktop, click Current branch (should show "main")
- Click New branch
- Name your branch something descriptive like
add-your-name - Click Create branch
- Open the repository folder on your computer
- Open
Contributors.mdin your favorite text editor - Add your name following the format:
- [Your Name](https://github.com/your-github-username) - Your message here - Save the file
- Go back to GitHub Desktop
- You should see your changes in the left panel
- Review the changes in the right panel to make sure they look correct
- The changed file will be automatically selected for commit
- In the bottom-left corner, add a commit message:
- Summary:
Add [Your Name] to Contributors list - Description (optional): Add any additional details
- Summary:
- Click Commit to [your-branch-name]
- Click Push origin to upload your changes to GitHub
- If this is your first push, the button might say Publish branch
- GitHub Desktop will show a notification about creating a pull request
- Click Create Pull Request or Preview Pull Request
- This will open GitHub in your web browser
- Fill out the pull request form:
- Title: Should be automatically filled
- Description: Add any additional information
- Click Create pull request
Congratulations! You've created your first pull request. Now:
- Wait for a maintainer to review your changes
- They might ask for changes or approve it directly
- Once approved, your changes will be merged into the main repository
- You'll receive a notification when this happens
- ✅ "Add John Doe to Contributors list"
- ✅ "Fix typo in README.md"
- ❌ "Update"
- ❌ "Changes"
- ✅
add-john-doe - ✅
fix-readme-typo - ❌
patch-1 - ❌
my-changes
- Double-check your changes in GitHub Desktop
- Make sure you're on the correct branch
- Ensure your commit message is descriptive
- Test that your changes don't break anything
- Make sure you've forked the repository first
- Check that you're signed in to the correct GitHub account
- Make sure you've saved the file
- Check that you're in the correct repository folder
- Refresh GitHub Desktop (View → Refresh)
- Make sure you're connected to the internet
- Check that you have permission to push to your fork
- Try signing out and back in to GitHub Desktop
After your first contribution:
- Explore more repositories: Look for projects with "good first issue" labels
- Learn more Git: Understanding the command line can be helpful
- Join communities: Participate in open source communities
- Keep contributing: The more you contribute, the more you'll learn!
Happy contributing! 🎉





