Move some useful helper to top level view testing class
Initial set of tests for git manipulations

Tests all git operations and status retrieval on following situations:

- clean repository
- not commited changes
- commited changes