This will explain in detail. There is much more to the article than just the paragraph below, so please read it in full.
Giardia in Dogs: Diagnosis Treatment and Prevention Guide
Can Humans Catch Giardia from Dogs (Zoonotic)?
The strain of giardia found in humans has been found as the source of infection in a limited number of dog giardia cases. For this reason, there is some risk that giardia can pass from human to dog. If a dog is infected with a human strain it could theoretically pass back to humans, although this is considered to be rare. Because of this, proper hygiene should be followed when handling an infected dog. Always be careful when disposing of feces.