Fix staging with special characters

Fixed an issue where file paths containing Git glob characters (like brackets) were not being staged correctly. The system now treats these paths as literal file names instead of patterns, ensuring files with special characters in their names can be properly staged and unstaged.