Consider following directories:
./new
./repo
where ./new
only contains textual files and subdirectories that are not under revision control by git, while ./repo comes from git clone git@myhost/repo/
(master)
What I want is to create a new local branch called test of repo/master
including the difference between the ./repo directory itself and the new ./new directory.
How can I do this with the minimum number of steps using git and diff eventually?