Merge pull request #35 from frk1705/fixPathspecError

Fix pathspec error on current branch checkout
Refresh tree view after commit
Merge branch 'fix-refreshTreeView' into develop