Exported code to remove commit history