A version-controlled DevOps project with Git
Manage a DevOps project using Git best practices.
- Git
- GitHub
- Initialized local repository and pushed to GitHub.
- Created branches:
main
(stable release branch)dev
(development branch)feature-*
(feature branches for new work)
- Worked on features inside
feature
branches. - Merged code using Pull Requests →
feature
→dev
→main
. - Added a
.gitignore
file to ignore logs and unnecessary files. - Tagged versions (e.g.,
v1.0
) for releases. - Documented the process in TASKS.md.
devops-git/ │── README.md │── TASKS.md │── .gitignore │── feature.py (sample feature)
- Learned Git branching workflow.
- Practiced PR-based collaboration.
- Used tags and markdown documentation.
This task sets up a version-controlled DevOps project using Git and GitHub. It follows best practices by creating multiple branches (main, dev and feature), managing code changes through pull requests, tagging releases and documenting all steps using markdown. This workflow simulates a real-world collaborative development environment.
The goal of this task is to understand and practice Git version control workflows—branching, merging with pull requests, using .gitignore, tagging versions and documenting the project—so that DevOps projects can be managed in a structured and professional way.