Is there a way to only git pull the contents of a repository without pulling the home folder? For example I have a bunch of files in a repository called "sample" but I only want to pull the contents of "sample" into my local repository called "local." I do not want to pull "sample" such that I get: local -> sample -> [contents]. Is there a way to only pull the contents?
I'm asking because I am operating on a shared web server that requires that I place my content under a specific folder (and named certain file names within the folder).
Thanks.
EDIT: I wasn't being quite clear before. I'm working on a local machine such that I am only allowed to change the contents of my folder and not the contents of the folder that contains my folder.