@vinayvenu  am not sure what you might be doing wrong to have duplicate commits for instance this pull is a duplicate of this commit https://github.com/openmrs/openmrs-core/commit/2bc1af0d88299b9403fecd145d32128d6653524c
Try to follow the openmrs conventions at https://wiki.openmrs.org/display/docs/Using+Git