So I mistyped a command. I wanted to do the Angular tutorial, so I did the following:
git clone --depth=14 https://github.om/angular/angular-phonecat.git
There was a typo when I used github.om instead of github.com.
Curious, I visited the site. I'm on Mac OS X // Safari, so it did one of those phony "You have a virus! Have an inescapable dialog box."
So this made me wonder... What happens when you send a git request to a malicious site? What sort of things can they learn about your system, your user information, etc.?
Also, what if I used sudo to complete this command -- let's say that I was on a guest account. What else could they learn from that? Does that change anything?