This was seems to be nightmare for us when multiple persons working on a single website not locally but on hosting server.
One night, i was going through drush commands, in the end i found some beautiful drush commands:
Those were :
Which mean drush configuration import and drush configuration export.
What i did for for making configuration in git:
1. Created a drupal website on my local and add it to the git.