Checking for both: Public & Private Key

Checking for both: Public & Private Key, because we need to send the public Key to Gitlab and need the privat Key later to connect to the Git Server