Take one random directory from the current directory, and use rsync to copy the contents of that directory (excluding the .git directory and any files ending in .swp) to the directory /target/dir/.
shuf -n 1 $(ls -d */) | xargs -I {} rsync -r -a --exclude=.git --filter="dir-merge,- *.swp" {} /target/dir/