As we have a server and we have git repositories hosted in it, frequently we need to git pull and build projects.
To pull, we need to have access to the git repository.
The current "logged in” git user in the server is, for example, “x-bot” (https://github.com/x-bot).
It is part of the team and has access to the repositories the other users do.
Make sure you can login with the x-bot user.
As many deploys are automated, there is no opportunity to type the password, as there is no prompt. To “auto-authenticate” into github, we use a SSH key. It holds an identity and password combination. When you create a key, it is a good idea to keep the same password as in git.
In git, not everyone needs to create a SSH key to prevent having to type username / password combination everytime they push or pull.