2.0 KiB
Git (Server)
Git is probably the best version control system (VCS) there is. It's easy and can be lightweight, but also has tons of possibilities for using graphical (including web) user interfaces.
Setup
Git consists of two parts: a client and a server.
Client
The Git package which can be used as a client for Linux-based operating systems has a separate article.
Server
The server hosts the data that is needed for the versioning. A distinction can be made between GUI-less servers and servers with a web-GUI.
Server with web interface
Web interfaces for git are quite useful for easily showing code to other people. Additionally it is easy to collaborate together.
- Gitea is an open-source and selfhosted git instance which can be dockerized.
- GitHub is a popular git server. It is not selfhosted and owned by microsoft (cli-tool).
- GitLab is a self-hostable git instance which also has a default version available via their website.
Git Apps
Depending on the specific server used there are many different apps that can be used.
- For GitHub there is app with the same name for Android devices and iOS devices.
- For Gitea and Forgejo there is an app called GitNex which is available for Android devices.
- For GitLab there is an app called LabNex which is available for Android devices.
Server without graphical interface
If you don't need a bloated web-interface a more basic approach is more than enough.
- git-server-docker is a pretty basic docker-container for git.