How to commit with private email address?

How could I commit with a private email address please?

If that is no possible can I make a GitLab account by using a GitHub account login and then use the GitHub priavte no-reply email address to attribute activity in the contributions graph?

Thank you.