Folder support to git add

This allows folders to be added via git add.

Currently we display "Add to git" options on all folders.
 I am implementing git-status for folders which will allow us to show this option only for unknown folders.

#2130 
@devoncarew