GitBridge.isStaged to detect if a file is staged.