Refactory SaveModal
Refactoring getPost from gitRepository
Adding default config to get options