You'll need to reference Anki's source code frequently, so it's best to keep Anki source code on your local hard drive. You can do this with with

git clone <https://github.com/ankitects/anki>

I've done this on my home directory (C:\\gitclones)