My First Real Open-Source Contribution to Godot Engine
(and how you can get started too)
Why I’m writing this
Like many developers, I used open source every day, but contributing always felt intimidating.
Huge codebase. Thousands of files. Very experienced developers.
Eventually, I made my first real contribution to the Godot Engine, and this post is about:
- What I contributed
- How I got started with open source
- The basic workflow anyone can follow
Here is my pull request:
https://github.com/godotengine/godot/pull/115729
What I contributed
Instead of trying to add a big feature, I focused on understanding the existing codebase and making a small, meaningful improvement.
This helped me learn:
- How large projects structure their code
- How reviews work in real open-source projects
- How to communicate changes clearly
The biggest lesson: your first contribution does not need to be big, it needs to be correct.
How to get started with open source (Godot example)
1. Fork the repository
Go to the main repository:
https://github.com/godotengine/godot
Click Fork to create your own copy.
2. Clone your fork and set upstream
git clone https://github.com/YOUR_USERNAME/godot.git
cd godot
git remote add upstream https://github.com/godotengine/godot.git
This keeps your fork connected to the main project.
- Create a new branch
Always work on a separate branch.
git checkout -b my-fix
- Build, make changes, and commit
Build the engine, make a small and focused change, then commit it.
git add .
git commit -m "Fix: clear description of the change"
- Push and open a Pull Request
git push origin my-fix
Open a pull request and clearly explain:
What you changed
Why the change is needed
What happens after opening a PR
Your code will be reviewed.
You may be asked to make changes.
This is normal and part of the process.
Reviews are not criticism. They are collaboration.
Final thoughts
Open source teaches you how real software is built.
You learn by reading, fixing, and discussing code in public.
If you use open source projects, contributing back is one of the best ways to grow as a developer.
SOCIAL SHARE CARD GENERATOR