In the following diagram, we'll demonstrate how you can encrypt your configuration files and store them into the Git repository for using in Gitops model.
you can find the full article of this diagram at the following blog post: https://medium.com/itnext/store-passwords-in-git-with-sops-251810869e10