pit/1.jpg
pit/2.jpg

PIT

#Python
#FastAPI

PIT (Git with the P of Pepijn) is a school project developed as part of an elective course, aimed at gaining a deeper understanding of version control systems, backend architecture, and API communication. The project is intentionally designed as a highly simplified and non-optimized version of Git, focusing on core concepts rather than performance or production readiness.

PIT is built in Python using FastAPI and supports a minimal set of essential features. Users can register an account, create repositories, and clone them to a local environment. Within a local repository, files can be added, committed, and pushed back to the server.

Each repository is tracked both locally and server-side using a .pit file and accompanying metadata. This allows the system to detect changes made within the local repository compared to the latest commit. Additionally, older versions of a repository can be restored by referencing a specific commit ID.