I have a windows service, which should pull every 20 seconds all changes from a git server. What is the best way of authentication in this scenario, because i don't know how to work with username and password / ssl in service-side applications.
EDIT I found here how to pass Username and password: How to provide credentials to Fetch() and Pul() methods?
But i also want to deliver the public key for the client in my c# code.
Thank you!