Git, distributed version control
Git howto
The most used websites for git howto’s are:
set up a git server
the machine has to have ssh acces for git over ssh
the machine can have http server for git over http
in debian apt install git
check Git on the server
define origint
upstreams
get and fork other projects using git upstream
https://stackoverflow.com/questions/50973048/forking-git-repository-from-github-to-gitlab#52954199
say we want to fork/import another project int ours
git remote add upstream-gitlab-REPO https://gitlab.com/user/repository.git
git remote add upstream-github-REPO https://github.com/user/repository.gitthen
git fetch -alland we can pull from any upstream
git pull upstream-gitlab-REPO <BRANCH>
git pull upstream-github-REPO <BRANCH>