I have logged in my Github (using Github Desktop) and Gitlab account in my laptop and it has different name and email. When I commit my code to my Gitlab repo, the account that make a commit is Github account. And when I check using git config --list
it shows my Github account.
How to seperate my Github and Gitlab account so it will use correct account when do some commit etc. Thank you