close an issue with a commit code example
Example 1: how to close an issue with a commit
git commit -m "closes #1, closes #2, closes #3; YOUR COMMIT MESSAGE"
Example 2: how to close an issue with a commit
git commit -m "Fixes #45; commit message"