`curl https://api.github.com/users/YOUR_USER_HERE` then look for the id in the payload.
"id": 2851
Or look at the html source of your avatar, https://avatars.githubusercontent.com/u/2851?v=4
Or look at the html source of your avatar, https://avatars.githubusercontent.com/u/2851?v=4