Question: I have to push my new changes to the repository. I have added `.` and created a commit for it. But when I enter

```
$ git push origin master

```

It throws an error and says *(as a hint)* `pull` first. But when `pull`, again it throws an error and talks about `fetch`. Honestly I'm confused. What should I do now?

[![enter image description here](https://i.stack.imgur.com/X8pjt.png)](https://i.stack.imgur.com/X8pjt.png)

Answer: 
I have solved this issue by the following code.
Thanks for all ...

```
     public static void ComboBoxFill(ComboBox cbo, string Query, string cboDisplayMember, string cboValueMember)
    {
        con.Open();
        SqlCommand cmd = new SqlCommand(Query, con);
        SqlDataReader dr = cmd.ExecuteReader();
        DataTable dt = new DataTable();
        dt.Load(dr);
        DataRow drow = dt.NewRow();
        for (int i = 0; i < dt.Columns.Count ; i++)
        {
            if (dt.Columns[i].ColumnName == cboDisplayMember)
            {
                drow[i] = "Select";
            }
            else if (dt.Columns[i].ColumnName == cboValueMember)
            {
                drow[i] = 0;
            }
            else
            {
                drow[i] = null;
            }
        }

        dt.Rows.InsertAt(drow, 0);

        cbo.DataSource = dt;
        cbo.DisplayMember = cboDisplayMember;
        cbo.ValueMember = cboValueMember;
        cbo.SelectedIndex = 0;
        con.Close();
    }

```
Just put this line in your ComboBoxFill() function.

```
public static void ComboBoxFill(ComboBox cbo, string Query, string cboDisplayMember, string cboValueMember)
            {
                con.Open();
                SqlCommand cmd = new SqlCommand(Query, con);
                SqlDataReader dr = cmd.ExecuteReader();
                DataTable dt = new DataTable();
                dt.Load(dr);
                cbo.DataSource = dt;

                DataRow newRow = dt.NewRow();
                newRow[0] = "Select";
                dt.Rows.InsertAt(newRow, 0);

                cbo.DisplayMember = cboDisplayMember;
                cbo.ValueMember = cboValueMember;
                cbo.SelectedIndex = 0;
                con.Close();
            }

```

It will add "Select" at postion 0