"in one of your gates": The inhabitants of your city take precedence to those of another. "in one of your gates": If he sits in one place you are obliged to help him; if he goes begging from door to door you are not obliged to do so.

"in your land": The inhabitants of Eretz Yisrael take precedence to those who live outside the land.

"that the L-rd your G-d gives to you": (This extends the obligation) to all places.

"Do not harden your heart": There are some who agonize over whether to give or not to give.