Solved this by myself. The shortcode has to look like this:
[github_contributors username=”username” repo=”repo“]
Instead of this:
[github-contributors username=”{username}” repo=”{repo}”]
There has to be an underscore instead of the minus and the curly brackets are redundant.