How to check if file is added or in edit mode/checked out? I’m looking for the commands for these things: