I am new to docker(2 days) and really trying to understand how I can integrate it in my development workflow.
Consider this situation (yes, I made this picture)

I am continuously working on my local git repo and want to test my code in one(or more) docker containers.
Question
a.) What is the best way recommended to get the code locally to these containers.
The reason I asked is because if I have to git commit-push locally and pull in respective containers, I see 2 problems upfront with that
1.) The rounds trip time in development is costly
2.) What if I am not in state to check-in my code, I am just testing/reproducing a bug etc.
Pardon my ignorance and please enlighten me with your ideas
Thanks